Expand description
WebSocket message dispatch for the BitMEX execution client.
Routes incoming BitmexWsMessage variants to the appropriate parsing and
event emission paths. Tracked orders (submitted through this client) produce
proper order events; untracked orders fall back to execution reports for
downstream reconciliation.
Structs§
- Order
Identity - Order identity context stored at submission time, used by the WS dispatch task to produce proper order events without Cache access.
- WsDispatch
State - Shared state for WS dispatch event deduplication and order tracking.
Functions§
- dispatch_
ws_ message - Top-level dispatch for all BitMEX WebSocket messages on the execution stream.