pub fn parse_option_instrument(
definition: &OKXInstrument,
margin_init: Option<Decimal>,
margin_maint: Option<Decimal>,
maker_fee: Option<Decimal>,
taker_fee: Option<Decimal>,
ts_init: UnixNanos,
) -> Result<InstrumentAny>
Expand description
Parses an OKX option instrument definition into a Nautilus option contract.