OHLCHelper.generate_empty_candle
You're seeing just the function
generate_empty_candle
, go back to OHLCHelper module for more information.
Link to this function
generate_empty_candle(timeframe \\ nil)
This function is deprecated. Will be removed in v2.x. Use OHLCFactory.gen_empty_candle/1 instead..
Specs
generate_empty_candle(OHLC.timeframe() | nil) :: OHLC.candle()
Generates and returns empty candle.
If provided with timeframe stime and etime will be generated based on current time.