Expand description
WebSocket message dispatch for the dYdX execution client.
Routes incoming subaccount channel data 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§
- Dydx
WsDispatch State - Shared state for cross-stream event deduplication in the execution dispatch loop.
- Order
Identity - Order identity context stored at submission time, used by the WS dispatch task to produce proper order events without Cache access.
Functions§
- fill_
report_ to_ order_ filled - Converts a [
FillReport] to an [OrderFilled] event for tracked orders.