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