OHLCFactory.gen_trades
You're seeing just the function
gen_trades
, go back to OHLCFactory module for more information.
Link to this function
gen_trades(opts \\ [])
Specs
Generates trades from provided arguments.
Options:
timeframe
- Timeframe used for rounding the timestamp. Available values are::minute
,:hour
,:day
,:week
min_price
- The minimum price on the generated tradesmax_price
- The maximum price on the generated tradesvolume
- The volume each trade hastimeframe_multiplier
- If you'd like to generate less trades per candle then you can increase the size of the timeframe_divider parameter(1-100) otherwise leave empty.timeframe_divider
- Is used for generating multiple candles of the same timeframe.