pub static OKX_WS_QUOTA: LazyLock<Quota>
Expand description
Default OKX WebSocket rate limit: 3 requests per second.
- Connection limit: 3 requests per second (per IP).
- Subscription requests: 480 ‘subscribe/unsubscribe/login’ requests per connection per hour.
- 30 WebSocket connections max per specific channel per sub-account.
We use 3 requests per second as the base limit to respect the connection rate limit.