prob.trade — Polymarket Analytics & Trading
Get 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.
Setup (required for all commands)
All commands require a prob.trade API key. Configure it in ~/.openclaw/skills/probtrade/config.yaml:
api_key: "ptk_live_..."
api_secret: "pts_..."
Generate keys at https://app.prob.trade (Settings → API Keys). Free account required.
Analytics Commands
Use the scripts below to query the prob.trade Public API.
Market Overview
Get 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:
CODEBLOCK2
Breaking Markets
Markets with the biggest price movements in the last 24 hours:
CODEBLOCK3
New Markets
Recently created prediction markets:
CODEBLOCK4
Search Markets
Find markets about a specific topic:
CODEBLOCK5
Market Details
Get detailed information about a specific market by its condition ID:
CODEBLOCK6
Market Statistics
Category breakdown and overall market counts:
CODEBLOCK7
Top Traders
See the most profitable prediction market traders:
CODEBLOCK8
Trading Commands
Trade on Polymarket using the same API key configured above.
Place Order
CODEBLOCK9
Cancel Order
CODEBLOCK10
View Positions
CODEBLOCK11
View Balance
CODEBLOCK12
View Open Orders
CODEBLOCK13
Security: API secret never leaves your machine. Only HMAC signatures are sent. No withdraw/transfer endpoints exist.
Output Format
All commands output structured JSON for easy parsing by AI agents. Key fields:
- - conditionid: Unique market identifier (use for trading on Polymarket)
- question: The prediction market question
- tokens: Current prices for Yes/No outcomes
- volume24hr: Trading volume in last 24 hours
- liquidity: Available liquidity for trading
- enddateiso: When the market resolves
Links
- - Dashboard: https://app.prob.trade
- Market page: INLINECODE1
- Trader profile: INLINECODE2
- 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-analytics
prob.trade — Polymarket分析与交易
从prob.trade获取实时预测市场情报并在Polymarket上进行交易。浏览热门市场,发现价格变动,查看顶级交易者的动向,并下达订单。
设置(所有命令必需)
所有命令都需要prob.trade API密钥。在~/.openclaw/skills/probtrade/config.yaml中配置:
yaml
apikey: ptklive_...
apisecret: pts...
在https://app.prob.trade(设置→API密钥)生成密钥。需要免费账户。
分析命令
使用以下脚本查询prob.trade公共API。
市场概览
快速获取预测市场概况:
bash
python3 {baseDir}/scripts/probtrade.py overview
返回:市场统计、前10热门市场、突破性价格变动以及最新市场。
热门市场
查看当前交易最活跃的市场:
bash
python3 {baseDir}/scripts/probtrade.py hot [--limit N]
突破性市场
过去24小时内价格变动最大的市场:
bash
python3 {baseDir}/scripts/probtrade.py breaking [--limit N]
新市场
最近创建的预测市场:
bash
python3 {baseDir}/scripts/probtrade.py new [--limit N] [--days N]
搜索市场
查找特定主题的市场:
bash
python3 {baseDir}/scripts/probtrade.py search 特朗普 [--limit N]
市场详情
通过条件ID获取特定市场的详细信息:
bash
python3 {baseDir}/scripts/probtrade.py market
市场统计
分类细分和总体市场数量:
bash
python3 {baseDir}/scripts/probtrade.py stats
顶级交易者
查看最赚钱的预测市场交易者:
bash
python3 {baseDir}/scripts/probtrade.py traders [--limit N] [--sort pnl|roi|volume|winRate] [--period all|30d|7d|24h]
交易命令
使用上述配置的相同API密钥在Polymarket上进行交易。
下达订单
bash
python3 {baseDir}/scripts/probtrade.py order --market --side BUY --outcome Yes --type LIMIT --price 0.55 --amount 10
取消订单
bash
python3 {baseDir}/scripts/probtrade.py cancel --order-id
查看持仓
bash
python3 {baseDir}/scripts/probtrade.py positions
查看余额
bash
python3 {baseDir}/scripts/probtrade.py balance
查看未成交订单
bash
python3 {baseDir}/scripts/probtrade.py orders
安全:API密钥永远不会离开您的机器。仅发送HMAC签名。不存在提现/转账端点。
输出格式
所有命令输出结构化JSON,便于AI代理解析。关键字段:
- - conditionid:唯一市场标识符(用于在Polymarket上交易)
- question:预测市场问题
- tokens:是/否结果的当前价格
- volume24hr:过去24小时交易量
- liquidity:可用交易流动性
- enddateiso:市场结算时间
链接
- - 仪表盘:https://app.prob.trade
- 市场页面:https://app.prob.trade/markets/{condition_id}
- 交易者资料:https://app.prob.trade/traders/{address}
- 公共API:https://api.prob.trade/api/public/overview
- 交易API文档:https://prob.trade/docs/public-api
- ClawHub:https://clawhub.ai/vlprosvirkin/prob-trade-polymarket-analytics