WebSocket Limitation
WebSocket Connection Limits
Free
1 WebSocket connection. (All market channels share one connection, see details below); Subscribe up to 10 symbols in total.
Basic
1 WebSocket connection. (All market channels share one connection, see details below); Subscribe up to 200 symbols in total.
Premium
2 WebSocket connections. (All market channels share one connection, see details below);
Up to 600 unique symbols per connection;
Subscribe up to 800 symbols in total.
Pro
9 WebSocket connections. (All market channels share one connection, see details below);
Up to 600 unique symbols per connection;
Subscribe up to 5,000 symbols in total.
WebSocket Subscription Request Limits
The total number of all WebSocket subscription requests (including Candlestick, real-time ticker, and heartbeat requests) is limited to 60 requests per minute.
Exceeding this subscription request limit will result in the connection being disconnected.
Total Subscription Capacity
WebSocket is primarily used to subscribe to real-time market data. The total number of subscriptions represents how many symbols you can subscribe to via WebSocket.
For example, 100 subscriptions allow you to subscribe to 100 symbols.
Standard and Custom plans support subscriptions across all available asset classes (Forex, Equities, Cryptocurrencies, Futures).
Equity-only plans can subscribe only to the selected stock market. For example, an “All A-Shares” plan allows subscriptions to all A-share stocks only.
WebSocket Connections
The system automatically allocates a sufficient number of WS connections based on your total subscription count.
Each connection can carry up to 600 subscriptions. If your subscription total exceeds 600, multiple connections will be provisioned automatically to ensure stable data delivery.
Examples:
200 subscriptions → 1 WebSocket connection
800 subscriptions → 2 WebSocket connections
5,000 subscriptions → 9 WebSocket connections
When multiple connections are available, subscriptions can be distributed freely across them, as long as:
No single connection exceeds 600 subscriptions, and
The total number of subscriptions does not exceed your plan limit.
Multiple Markets Do Not Increase Connection Count
The Infoway API provides three WebSocket market channels:
Equities:
wss://data.infoway.io/ws?business=stockCryptocurrencies:
wss://data.infoway.io/ws?business=cryptoForex & Commodities Futures:
wss://data.infoway.io/ws?business=common
Even if you subscribe to data from all three channels simultaneously, they are collectively counted as a single WebSocket connection.
Last updated
