pub fn dispatch_orders_payload(
data: DeriveOrdersSubscriptionData,
emitter: &ExecutionEventEmitter,
account_id: AccountId,
clock: &'static AtomicTime,
dispatch_state: &WsDispatchState,
)Expand description
Dispatches a parsed {subaccount_id}.orders payload to the execution event
emitter.
Emits tracked order events when an order’s client order id resolves to a
registered identity in dispatch_state, and forwards a raw status report
otherwise.