pub fn parse_perp_instrument(
definition: &AxInstrument,
maker_fee: Decimal,
taker_fee: Decimal,
ts_event: UnixNanos,
ts_init: UnixNanos,
) -> Result<InstrumentAny>Expand description
Parses an Ax perpetual futures instrument into a Nautilus CryptoPerpetual.
ยงErrors
Returns an error if any required field cannot be parsed or is invalid.