[C#] | public FinanceSimulator({int | string} seed, DateTime startTime, DateTime endTime, int resolution); |
[VB] | Public FinanceSimulator(seed As {Integer | String}, startTime As DateTime, endTime As DateTime, resolution As Integer) |
ChartDirector 7.1 (.NET Edition)
FinanceSimulator.
Usage
[C#] | public FinanceSimulator({int | string} seed, DateTime startTime, DateTime endTime, int resolution); |
[VB] | Public FinanceSimulator(seed As {Integer | String}, startTime As DateTime, endTime As DateTime, resolution As Integer) |
Description
Arguments
Argument | Default | Description |
---|---|---|
seed | (Mandatory) | The seed to be used in the random number generator. It can be an integer or a non-empty text string. |
startTime | (Mandatory) | The start date/time of the financial date series. |
endTime | (Mandatory) | The end date/time of the financial date series. |
resolution | (Mandatory) | The resolution of the financial data series in seconds. For example, a value of 86400 means daily data (1 day = 86400 seconds). A value of 7 * 86400 means weekly data. A value of 30 * 86400 means monthly data. |
Return Value