Module messages

Module messages 

Source
Expand description

WebSocket message types for dYdX public and private channels.

Structs§

DydxAssetBalance
Subaccount balance update.
DydxBlockHeightChannelContents
Block height channel data contents.
DydxBlockHeightSubscribedContents
Block height subscription confirmed contents.
DydxCandle
Candle/bar data from v4_candles channel.
DydxMarketMessageContents
Market message contents.
DydxMarketsContents
Contents of v4_markets channel_data message (simple format).
DydxOraclePriceMarket
Oracle price data for a market (simple format from channel_data).
DydxOraclePriceMarketFull
Oracle price data for a market (full format from subscribed message).
DydxOrderbookContents
Contents of v4_orderbook channel_data/channel_batch_data messages.
DydxOrderbookSnapshotContents
Contents of v4_orderbook subscribed (snapshot) message.
DydxPerpetualPosition
Subaccount perpetual position.
DydxPriceLevel
Price level for orderbook snapshot (structured format).
DydxSubaccountInfo
Subaccount information.
DydxSubscription
dYdX WebSocket subscription message.
DydxTrade
Trade message from v4_trades channel.
DydxTradeContents
Contents of v4_trades channel_data message.
DydxWsBlockHeightChannelData
Block height channel data message.
DydxWsBlockHeightSubscribedData
Block height subscription confirmed message.
DydxWsChannelBatchDataMsg
Batch channel data update message (multiple updates in one message).
DydxWsChannelDataMsg
Single channel data update message.
DydxWsConnectedMsg
Connection established message.
DydxWsFillSubaccountMessageContents
Fill message from WebSocket.
DydxWsGenericMsg
Generic message structure for initial classification.
DydxWsMarketChannelData
Markets channel data message.
DydxWsMarketSubscribed
Markets subscription confirmed message.
DydxWsMessageGeneral
General WebSocket message structure for routing.
DydxWsOrderSubaccountMessageContents
Order message from WebSocket.
DydxWsSubaccountsChannelContents
Subaccounts channel data contents.
DydxWsSubaccountsChannelData
Subaccounts channel data message.
DydxWsSubaccountsSubscribed
Subaccounts subscription confirmed message.
DydxWsSubaccountsSubscribedContents
Subaccount subscription contents.
DydxWsSubscriptionMsg
Generic subscription/unsubscription confirmation message.

Type Aliases§

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