generate_ohlcv_candles#

generate_ohlcv_candles(bucket, start, end, start_price=1800, daily_drift=(0.95, 1.05), high_drift=1.05, low_drift=0.9, random_seed=1, pair_id=1, exchange_id=1)[source]#

Generate some sample time series data.

The output candles are deterministic: the same input parameters result to the same output parameters.

Parameters
Return type

DataFrame