pub fn parse_order_expired(
msg: &DeribitOrderMsg,
instrument: &InstrumentAny,
account_id: AccountId,
trader_id: TraderId,
strategy_id: StrategyId,
ts_init: UnixNanos,
) -> OrderExpiredExpand description
Parses a Deribit order message into an OrderExpired event.
This should be called when an order transitions to “expired” state (e.g., GTD orders that reached their expiry time).