Module messages

Module messages 

Source
Expand description

WebSocket message types for dYdX public and private channels.

Structs§

DydxCandle
Candle/bar data from v4_candles channel.
DydxMarketsContents
Contents of v4_markets channel_data message.
DydxOraclePriceMarket
Oracle price data for a market.
DydxOrderbookContents
Contents of v4_orderbook channel_data/channel_batch_data messages.
DydxOrderbookSnapshotContents
Contents of v4_orderbook subscribed (snapshot) message.
DydxPriceLevel
Price level for orderbook snapshot (structured format).
DydxSubscription
dYdX WebSocket subscription message.
DydxTrade
Trade message from v4_trades channel.
DydxTradeContents
Contents of v4_trades channel_data message.
DydxWsChannelBatchDataMsg
Batch channel data update message (multiple updates in one message).
DydxWsChannelDataMsg
Single channel data update message.
DydxWsConnectedMsg
Connection established message.
DydxWsGenericMsg
Generic message structure for initial classification.
DydxWsSubscriptionMsg
Generic subscription/unsubscription confirmation message.

Enums§

DydxWsMessage
High level message emitted by the dYdX WebSocket client.
NautilusWsMessage
Nautilus domain message emitted after parsing dYdX WebSocket events.

Type Aliases§

PriceLevel
Order book price level (price, size tuple).