Module messages

Module messages 

Source
Expand description

WebSocket message types for Bybit public and private channels.

Structs§

BybitAuthRequest
Bybit WebSocket authentication message.
BybitSubscription
Bybit WebSocket subscription message.
BybitWebSocketError
Represents an error event surfaced by the WebSocket client.
BybitWsAccountExecution
Private execution (fill) stream payload.
BybitWsAccountExecutionMsg
Envelope for account execution updates.
BybitWsAccountOrder
Private order stream payload.
BybitWsAccountOrderMsg
Envelope for account order updates.
BybitWsAccountPosition
Position data from private position stream.
BybitWsAccountPositionMsg
Envelope for position updates on private streams.
BybitWsAccountWallet
Wallet summary payload covering all coins.
BybitWsAccountWalletCoin
Coin level wallet update payload on private streams.
BybitWsAccountWalletMsg
Envelope for wallet updates on private streams.
BybitWsAmendOrderParams
Parameters for amending an order via WebSocket.
BybitWsAuthResponse
Authentication acknowledgement for private channels.
BybitWsCancelOrderParams
Parameters for canceling an order via WebSocket.
BybitWsHeader
Header for WebSocket trade requests.
BybitWsKline
Representation of a kline/candlestick event on the public stream.
BybitWsKlineMsg
Envelope for kline updates.
BybitWsOrderbookDepth
Orderbook depth payload consisting of raw ladder deltas.
BybitWsOrderbookDepthMsg
Envelope for orderbook depth snapshots and updates.
BybitWsPlaceOrderParams
Parameters for placing an order via WebSocket.
BybitWsRequest
Generic WebSocket request for Bybit trading commands.
BybitWsResponse
Generic response returned by the endpoint when subscribing or authenticating.
BybitWsSubscriptionMsg
Subscription acknowledgement returned by Bybit.
BybitWsTickerLinear
Linear/Inverse ticker event payload.
BybitWsTickerLinearMsg
Envelope for linear ticker updates.
BybitWsTickerOption
Option ticker event payload.
BybitWsTickerOptionMsg
Envelope for option ticker updates.
BybitWsTrade
Trade event payload containing trade executions on public feeds.
BybitWsTradeMsg
Envelope for public trade updates.

Enums§

BybitWebSocketMessage
High level message emitted by the Bybit WebSocket client.