Returns a new Data generator with the new data frequency.
How long the time between two timestamps is.
Returns a new Data generator with the new numberOfPoints.
How many points of data to generate
Returns a new Data generator with the new starting value.
What is the value the data generation should start from.
Returns a new Data generator with the new time stamp to start generating the data.
The timestamp for the first data point.
Returns a new Data generator with the new volatility.
How volatile the data is. How much the data changes between data points. For example volatility of 0.2 would allow maximum of 0.2 change up or down between datapoints.
OHLC data generator. Generates random OHLC data. The open value is derived from the previous close.
To create a new instance of OHLC data generator use createOHLCGenerator factory.