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