pub fn parse_order_canceled(
msg: &DeribitOrderMsg,
instrument: &InstrumentAny,
account_id: AccountId,
trader_id: TraderId,
strategy_id: StrategyId,
ts_init: UnixNanos,
) -> OrderCanceledExpand description
Parses a Deribit order message into an OrderCanceled event.
This should be called when an order transitions to “cancelled” state.