parse_kline_bar

Function parse_kline_bar 

Source
pub fn parse_kline_bar(
    kline: &BybitKline,
    instrument: &InstrumentAny,
    bar_type: BarType,
    timestamp_on_close: bool,
    ts_init: UnixNanos,
) -> Result<Bar>
Expand description

Parses a kline entry into a Bar.