Function candle
pub fn candle(
k: &Kline,
instrument: &InstrumentId,
tf: Timeframe,
now: Instant,
) -> CandleExpand description
A candle from a row of the history. The candle closes one timeframe after it opens.
pub fn candle(
k: &Kline,
instrument: &InstrumentId,
tf: Timeframe,
now: Instant,
) -> CandleA candle from a row of the history. The candle closes one timeframe after it opens.