定義
Subscription limit
単一のWebSocket接続がストリーム配信できるインストゥルメントの最大数。
Subscription limit
Definition
The WebSocket subscription limit is the maximum number of instruments a single WebSocket connection can stream. On Polymarket the Market Channel enforces a hard cap of 500 instruments per connection, so a single socket cannot subscribe to more than 500 markets or instruments at once.
In context
You encounter this limit when you open a Market Channel connection (wss://ws-subscriptions-clob.polymarket.com/ws/market) to receive real-time book, price_change, best_bid_ask, last_trade_price, or tick_size_change events. The feed is designed for low-latency updates; the 500-instrument cap prevents a single connection from becoming a scalability bottleneck. If you need data for more than 500 instruments, open multiple WebSocket connections and partition your subscription set across them. Remember the Market WS also pings every 10 seconds and supports up to 500 instruments per connection.
Operational notes
- Use instrument grouping (by tag, market list, or logical buckets) to split subscriptions across connections.
- Keep each connection healthy: handle the server PINGs and implement reconnection/backoff logic.
- Respect the max of 500 instruments per Market Channel connection to avoid rejected subscriptions.
See also
- /glossary/market-channel