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

gen_trades(keyword() | nil) :: list()

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 trades
  • max_price - The maximum price on the generated trades
  • volume - The volume each trade has
  • timeframe_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.