polymarket-analyzer
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChinesePolymarket Analyzer Skill
Polymarket 分析 Skill
Detect trading edges and opportunities across Polymarket prediction markets using
real-time data from the Gamma and CLOB APIs. Zero authentication required -- all
analysis is read-only.
利用来自Gamma和CLOB APIs的实时数据,在Polymarket预测市场中检测交易优势和机会。无需身份验证——所有分析均为只读操作。
Available Scripts
可用脚本
1. Find Arbitrage Edges (scripts/find_edges.py
)
scripts/find_edges.py1. 寻找套利机会(scripts/find_edges.py
)
scripts/find_edges.pyScans all active markets for pricing inefficiencies:
- Underpriced: YES + NO < $1.00 (guaranteed profit if you buy both sides)
- Overpriced: YES + NO > $1.02 (sell opportunity)
- Calculates profit after fees for each opportunity
- Outputs market name, prices, sum, potential profit, and fee impact
bash
python scripts/find_edges.py
python scripts/find_edges.py --min-edge 0.02 --limit 500扫描所有活跃市场,寻找定价无效情况:
- 定价偏低:YES + NO < 1.00美元(同时买入双方可获得保证利润)
- 定价偏高:YES + NO > 1.02美元(卖出机会)
- 计算每个机会扣除手续费后的利润
- 输出市场名称、价格、总和、潜在利润及手续费影响
bash
python scripts/find_edges.py
python scripts/find_edges.py --min-edge 0.02 --limit 5002. Analyze Order Book (scripts/analyze_orderbook.py
)
scripts/analyze_orderbook.py2. 分析订单簿(scripts/analyze_orderbook.py
)
scripts/analyze_orderbook.pyDeep analysis of a single market's order book:
- Spread, mid-price, bid/ask depth (top N levels)
- Bid-ask imbalance ratio (signals directional pressure)
- Thin vs thick book classification
- Liquidity concentration analysis
bash
python scripts/analyze_orderbook.py --token-id <TOKEN_ID>
python scripts/analyze_orderbook.py --token-id <TOKEN_ID> --depth 10对单个市场的订单簿进行深度分析:
- 买卖价差、中间价、买卖盘深度(前N档)
- 买卖盘失衡比率(信号方向压力)
- 订单簿厚薄分类
- 流动性集中度分析
bash
python scripts/analyze_orderbook.py --token-id <TOKEN_ID>
python scripts/analyze_orderbook.py --token-id <TOKEN_ID> --depth 103. Momentum Scanner (scripts/momentum_scanner.py
)
scripts/momentum_scanner.py3. 动量扫描器(scripts/momentum_scanner.py
)
scripts/momentum_scanner.pyDetect markets with unusual activity:
- Volume surges: 24h volume significantly exceeds 7-day average
- Price momentum: recent price moves in one direction
- Liquidity changes: markets gaining or losing depth
- Ranked output by signal strength
bash
python scripts/momentum_scanner.py
python scripts/momentum_scanner.py --min-volume 10000 --limit 300检测存在异常活动的市场:
- 成交量激增:24小时成交量显著超过7天平均水平
- 价格动量:近期价格单向变动
- 流动性变化:市场流动性增加或减少
- 按信号强度排序输出结果
bash
python scripts/momentum_scanner.py
python scripts/momentum_scanner.py --min-volume 10000 --limit 3004. Correlation Tracker (scripts/correlation_tracker.py
)
scripts/correlation_tracker.py4. 相关性追踪器(scripts/correlation_tracker.py
)
scripts/correlation_tracker.pyDetect hidden correlated exposure in your portfolio:
- Groups positions by topic (crypto, politics, sports, geopolitics, etc.)
- Detects shared qualifiers ("insider trading", "FIFA World Cup", etc.)
- Warns when correlated clusters exceed concentration limits
- Outputs diversification score (0-100)
bash
python scripts/correlation_tracker.py
python scripts/correlation_tracker.py --json
python scripts/correlation_tracker.py --threshold 0.10检测投资组合中隐藏的相关性风险:
- 按主题(加密货币、政治、体育、地缘政治等)对持仓进行分组
- 检测共同限定词(如“内幕交易”、“FIFA世界杯”等)
- 当相关集群超过集中度限制时发出警告
- 输出多元化评分(0-100)
bash
python scripts/correlation_tracker.py
python scripts/correlation_tracker.py --json
python scripts/correlation_tracker.py --threshold 0.10Workflow
工作流程
- Run to scan for arbitrage across all active markets
find_edges.py - For interesting markets, run to check if the edge is executable
analyze_orderbook.py - Run to find markets with directional momentum
momentum_scanner.py - Combine findings to identify the best opportunities
- 运行扫描所有活跃市场的套利机会
find_edges.py - 对于感兴趣的市场,运行验证机会是否可执行
analyze_orderbook.py - 运行寻找具有方向性动量的市场
momentum_scanner.py - 结合发现结果,识别最佳机会
Fee Awareness
手续费说明
Most Polymarket markets are fee-free. Crypto 5-min/15-min markets have dynamic taker
fees: . See
for the full fee calculator and breakeven analysis.
fee = baseRate * min(price, 1 - price) * sizereferences/fee-model.md大多数Polymarket市场免手续费。加密货币5分钟/15分钟市场采用动态taker手续费:。完整的手续费计算器和盈亏平衡分析请参阅。
手续费 = 基础费率 * min(价格, 1 - 价格) * 交易量references/fee-model.mdStrategy Reference
策略参考
See for the four strategies that still work in 2026
with win rates, expected returns, and risk profiles.
references/viable-strategies.md请参阅,了解2026年仍有效的四种策略,包括胜率、预期收益和风险概况。
references/viable-strategies.mdImportant Disclaimers
重要免责声明
- This skill performs read-only analysis only -- no trades are executed
- Past patterns do not guarantee future results
- Always verify opportunities manually before trading
- Not financial advice
- 本Skill仅执行只读分析——不会执行任何交易
- 过往模式不代表未来结果
- 交易前请务必手动验证机会
- 本内容并非财务建议