decode_futures_contract

Function decode_futures_contract 

Source
pub fn decode_futures_contract(
    msg: &InstrumentDefMsg,
    instrument_id: InstrumentId,
    ts_init: Option<UnixNanos>,
) -> Result<FuturesContract>
Expand description

ยงErrors

Returns an error if parsing or constructing FuturesContract fails.