cxmr_candles
pub fn candle_ts(first_ts: u64, index: usize, interval: u64) -> u64
Calculates candle timestamp from first timestamp and index.