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
.
pub fn parse_kline_bar(
kline: &BybitKline,
instrument: &InstrumentAny,
bar_type: BarType,
timestamp_on_close: bool,
ts_init: UnixNanos,
) -> Result<Bar>
Parses a kline entry into a Bar
.