pub fn generate_external_order_status_events( order: &OrderAny, report: &OrderStatusReport, account_id: &AccountId, instrument: &InstrumentAny, ts_now: UnixNanos, ) -> Vec<OrderEventAny>