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

merge_child(main_candle, merge_candle)


merge_child(candle(), candle()) :: {:ok, candle()} | {:error, atom()}

Merges candle into another candle.

If main candles :stime is 0 then fallback to the merge_child :stime.


  • 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.