pub fn decode_futures_contract(
msg: &InstrumentDefMsg,
instrument_id: InstrumentId,
ts_init: Option<UnixNanos>,
) -> Result<FuturesContract>
Expand description
Decodes a Databento instrument definition message into a FuturesContract
instrument.
ยงErrors
Returns an error if parsing or constructing FuturesContract
fails.