Expand description
WebSocket dispatch state for tracked/external order routing.
Orders submitted through this client and active local orders restored from the cache have their
identity registered in WsDispatchState. User data stream messages route by registered identity:
- Tracked orders produce typed order events (OrderAccepted, OrderFilled, etc.).
- Untracked orders fall back to execution reports for reconciliation.
Structs§
- Order
Identity - Order identity context registered on submission or restored for an active local order.
- Pending
Request - A pending WS API request awaiting a response.
- WsDispatch
State - Tracks order lifecycle state for dispatch routing.
Enums§
- Pending
Operation - The type of operation a pending WS API request represents.
Functions§
- ensure_
accepted_ emitted - Synthesizes and emits OrderAccepted if one has not yet been emitted.