You're seeing just the function merge_candles, go back to OHLC module for more information.
Link to this function

merge_candles(main_candle, merge_candle)


merge_candles(candle(), candle()) :: {:ok, candle()} | {:error, binary()}

Merges candle into another candle.


  • main_candle - Candle which will be merged into.
  • merge_candle - Candle which will be merged. It is important to have etime less than first candle. Meaning both candles should stay in the same timeframe.