![]() |
Trading System API
3.0
Library for Simulating and Deploying Trading and Investment Strategies
|
Class for generating pseudo random price series (o,h,l,c,v). More...
Class for generating pseudo random price series (o,h,l,c,v).
Price changes (close to close) have a near normal distribution. There is a small tendency to 'trend' which is enabled by default, but can be disabled (see trend_factor()). This class does not act as scheduler for strategies (see strategy::schedule()). This means that it is suitable to work with any type of scheduling.
A strategy will require an object of type sequence_daily or sequence_intra for scheduling purposes. If a series with a daily sequence is required, use class rand_ohlcv_daily as it also comprises a scheduler of daily intervals.