一键导入
polymarket-ws-streaming
Procedural guide for managing Polymarket WebSockets (CLOB and RTDS) for real-time prices, orderbooks, and user fills.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Procedural guide for managing Polymarket WebSockets (CLOB and RTDS) for real-time prices, orderbooks, and user fills.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Procedural workflow for finding markets, extracting token IDs, and reading orderbooks on Polymarket using Gamma and CLOB APIs. Read-only, no auth required.
Advanced procedural workflow for L1/L2 authentication, EIP-712 signing, and placing trades on Polymarket CLOB API.
| name | polymarket-ws-streaming |
| description | Procedural guide for managing Polymarket WebSockets (CLOB and RTDS) for real-time prices, orderbooks, and user fills. |
You are an AI agent setting up real-time data streaming for Polymarket. The system has two distinct WebSocket servers. Choose the right one for the task.
wss://ws-subscriptions-clob.polymarket.com/ws/market — Use for subscribing to specific orderbooks (book), granular price changes, and the private user channel (user fills). Max 500 assets.wss://ws-live-data.polymarket.com — Use for broad feeds (crypto_prices, activity, aggregated clob_market).CLOB WS LIMITATION: CLOB WS does not support unsubscribe.
Heuristic: If the trading bot needs to switch the tracked market on CLOB WS, you MUST tear down the current TCP connection and open a new one with the new assets_ids list. Do not attempt to send an unsubscribe command.
"PING" exactly every 10 seconds.price_changeWhen listening to CLOB WS, expect incremental updates.
Note: Format changed since September 2025. Messages now contain a price_changes[] array where each asset has current best_bid and best_ask. Update the local orderbook cache based on these deltas.