nautilus_adapters::databento::decode

Function decode_ohlcv_msg

Source
pub fn decode_ohlcv_msg(
    msg: &OhlcvMsg,
    instrument_id: InstrumentId,
    price_precision: u8,
    ts_init: UnixNanos,
) -> Result<Bar>