Module parse

Module parse 

Source
Expand description

Parsing utilities for dYdX WebSocket messages.

Converts WebSocket-specific message formats into Nautilus domain types by transforming them into HTTP-equivalent structures and delegating to the HTTP parser for consistency.

Functionsยง

parse_ws_fill_report
Parses a WebSocket fill update into a FillReport.
parse_ws_order_report
Parses a WebSocket order update into an OrderStatusReport.
parse_ws_position_report
Parses a WebSocket position into a PositionStatusReport.