Expand description
WebSocket client implementation for the OKX v5 API.
This module provides real-time streaming connectivity to OKX WebSocket endpoints, supporting:
- Market data streaming (order books, trades, tickers, bars).
- Private data streaming (account updates, positions, orders).
- Order management (place, cancel, amend) via WebSocket.
- Authentication and automatic reconnection.
- Channel subscription management.
Re-exports§
pub use crate::websocket::client::OKXWebSocketClient;
Modules§
- auth
- Authentication coordination for the OKX WebSocket client.
- client
- Provides the WebSocket client integration for the OKX WebSocket API.
- enums
- Enumerations representing OKX WebSocket message metadata and codes.
- error
- Error types produced by the OKX WebSocket client implementation.
- messages
- Data structures modelling OKX WebSocket request and response payloads.
- parse
- Functions translating raw OKX WebSocket frames into Nautilus data types.
- subscription
- Subscription tracking helpers for the OKX WebSocket client.