Openclaw Skill — OpenClaw 技能
v2.0.5Polymarket prediction markets: 分析, trading, hot markets, price movements, top traders, and market 搜索. Powered by prob.trade.
运行时依赖
安装命令
点击复制技能文档
prob.trade — Polymarket 分析 & Trading
获取 real-time prediction market intelligence and trade on Polymarket from prob.trade. Browse trending markets, discover price movements, see what top traders are doing, and place orders.
设置up (required for all commands)
All commands require a prob.trade API key. 配置 it in ~/.OpenClaw/技能s/probtrade/config.yaml:
API_key: "ptk_live_..." API_secret: "pts_..."
生成 keys at https://应用.prob.trade (设置tings → API Keys). Free account required.
分析 Commands
Use the scripts below to 查询 the prob.trade Public API.
Market Overview
获取 a quick snapshot of the prediction market landscape:
python3 {baseDir}/scripts/probtrade.py overview
Returns: market stats, top 10 hot markets, breaking price movements, and newest markets.
Hot Markets
See the most actively traded markets right now:
python3 {baseDir}/scripts/probtrade.py hot [--limit N]
Breaking Markets
Markets with the biggest price movements in the last 24 hours:
python3 {baseDir}/scripts/probtrade.py breaking [--limit N]
New Markets
Recently 创建d prediction markets:
python3 {baseDir}/scripts/probtrade.py new [--limit N] [--days N]
搜索 Markets
Find markets about a specific topic:
python3 {baseDir}/scripts/probtrade.py 搜索 "Trump" [--limit N]
Market DetAIls
获取 detAIled in格式化ion about a specific market by its condition ID:
python3 {baseDir}/scripts/probtrade.py market
Market Statistics
Category breakdown and overall market counts:
python3 {baseDir}/scripts/probtrade.py stats
Top Traders
See the most profitable prediction market traders:
python3 {baseDir}/scripts/probtrade.py traders [--limit N] [--排序 pnl|roi|volume|winRate] [--period all|30d|7d|24h]
Trading Commands
Trade on Polymarket using the same API key 配置d above.
Place Order python3 {baseDir}/scripts/probtrade.py order --market --side BUY --outcome Yes --type LIMIT --price 0.55 --amount 10
Cancel Order python3 {baseDir}/scripts/probtrade.py cancel --order-id
View Positions python3 {baseDir}/scripts/probtrade.py positions
View Balance python3 {baseDir}/scripts/probtrade.py balance
View Open Orders python3 {baseDir}/scripts/probtrade.py orders
Security: API secret never leaves your machine. Only HMAC 签名atures are sent. No withdraw/transfer 端点s exist.
输出 格式化
All commands 输出 structured JSON for easy parsing by AI 代理s. Key fields:
condition_id: Unique market identifier (use for trading on Polymarket) question: The prediction market question 令牌s: Current prices for Yes/No outcomes volume_24hr: Trading volume in last 24 hours liquidity: AvAIlable liquidity for trading end_date_iso: When the market resolves Links 仪表盘: https://应用.prob.trade Market page: https://应用.prob.trade/markets/{condition_id} Trader 性能分析: https://应用.prob.trade/traders/{添加ress} Public API: https://API.prob.trade/API/public/overview Trading API docs: https://prob.trade/docs/public-API ClawHub: https://ClawHub.AI/vlprosvirkin/prob-trade-polymarket-分析