Expand description
WebSocket message types for Bybit V5 WebSocket API.
Bybit WS messages follow this structure:
{
"topic": "orderbook.1.BTCUSDT",
"type": "snapshot",
"ts": 1672828800000,
"data": { ... }
}For subscribe/unsubscribe operations:
{ "op": "subscribe", "args": ["orderbook.1.BTCUSDT"] }Modules§
- topics
- Subscription topic builder
Structs§
- WsOp
Response - Operation-level response (subscribe success/error)
- WsRequest
- A subscription/unsubscription request to Bybit
- WsResponse
- Response type from Bybit WS (topic-based data)