Module client

Module client 

Source
Expand description

Provides the WebSocket client integration for the OKX WebSocket API.

This module defines and implements a strongly-typed OKXWebSocketClient for connecting to OKX WebSocket streams. It handles authentication (when credentials are provided), manages subscriptions to market data and account update channels, and parses incoming messages into structured Nautilus domain objects.

Structs§

OKXWebSocketClient
Provides a WebSocket client for connecting to OKX.

Statics§

OKX_WS_ORDER_QUOTA
Rate limit for order-related WebSocket operations: 250 requests per second.
OKX_WS_QUOTA
Default OKX WebSocket rate limit: 3 requests per second.