Skip to main content

candle

Function candle 

Source
pub fn candle(
    k: &Kline,
    instrument: &InstrumentId,
    tf: Timeframe,
    now: Instant,
) -> Candle
Expand description

A candle from a row of the history. The candle closes one timeframe after it opens.