polymarket-sports-edge
Find odds divergence between sportsbook consensus and Polymarket sports markets, then trade the gap.
About this skill
This skill is designed to find arbitrage or value betting opportunities within sports prediction markets on Polymarket. It operates by continuously scanning active Polymarket sports markets (both game-level and futures) and comparing their implied probabilities against the highly efficient consensus odds gathered from professional sportsbooks via The Odds API. The core premise is that professional bookmakers, with their vast data and expert oddsmakers, set incredibly accurate lines; thus, any significant deviation on the less efficient Polymarket likely represents a mispricing. The skill runs in two parallel modes: one for head-to-head (h2h) game markets and another for outright championship/winner futures. For h2h games, it fetches active sports markets and current moneylines, matches them by team names, calculates sportsbook implied probabilities, and compares them against Polymarket prices. If the divergence exceeds a user-defined threshold, it buys the underpriced side on Polymarket. Similarly, for futures, it fetches outright odds from sportsbooks and matches them against Polymarket futures markets to identify and exploit mispricings. By automating this comparative analysis and trade execution, the skill provides users with an algorithmic edge in sports prediction markets. It leverages external, well-calibrated data (sportsbook odds) to inform trading decisions on a relatively less efficient platform (Polymarket), aiming to consistently capitalize on market discrepancies. Users can customize various parameters like sports, divergence thresholds, and trade sizing to suit their risk appetite and preferences.
Best use case
The primary use case for this skill is to automate the identification and execution of profitable trades in sports prediction markets on Polymarket. Individuals seeking an algorithmic advantage in sports betting or those interested in market-making strategies that exploit efficiency gaps between different betting platforms would benefit most. It's ideal for users who trust the accuracy of professional sportsbook lines as a benchmark and want to leverage that intelligence to find mispriced assets on Polymarket without constant manual monitoring.
Find odds divergence between sportsbook consensus and Polymarket sports markets, then trade the gap.
Identification and potential execution of trades on Polymarket sports markets where odds diverge favorably from sportsbook consensus, aiming for profitable outcomes.
Practical example
Example input
Activate Polymarket Sports Edge for NBA and NFL. Set divergence threshold to 2.5%, maximum trade size $100. Prioritize NBA futures.
Example output
Scanning activated. Detected NBA H2H divergence: Boston Celtics vs. Golden State Warriors. Polymarket: Celtics @ 2.10 (implied 47.6%), Sportsbook consensus: Celtics @ 1.85 (implied 54.1%). Initiating buy order for $100 on 'Celtics to win' on Polymarket. Trade ID: 0xabc123... Monitoring for further opportunities.
When to use this skill
- To automatically find and trade mispriced sports markets on Polymarket.
- When you want to leverage professional sportsbook odds to identify value bets.
- To implement an algorithmic trading strategy for sports prediction markets.
- When you have API access to Simmer (Polymarket SDK) and The Odds API.
When not to use this skill
- If you are not interested in engaging with sports prediction markets or trading.
- If you prefer to manually research and place bets based on your own analysis.
- If you lack the necessary API access or are unwilling to configure them.
- If you are risk-averse to automated trading strategies and potential losses.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/polymarket-sports-edge/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How polymarket-sports-edge Compares
| Feature / Agent | polymarket-sports-edge | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | medium | N/A |
Frequently Asked Questions
What does this skill do?
Find odds divergence between sportsbook consensus and Polymarket sports markets, then trade the gap.
How difficult is it to install?
The installation complexity is rated as medium. You can find the installation instructions above.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
AI Agent for Product Research
Browse AI agent skills for product research, competitive analysis, customer discovery, and structured product decision support.
AI Agent for SaaS Idea Validation
Use AI agent skills for SaaS idea validation, market research, customer discovery, competitor analysis, and documenting startup hypotheses.
AI Agents for Coding
Browse AI agent skills for coding, debugging, testing, refactoring, code review, and developer workflows across Claude, Cursor, and Codex.
SKILL.md Source
# Polymarket Sports Edge > **This is a template.** The default signal compares sportsbook consensus odds > against Polymarket prices and trades when divergence exceeds a threshold. > Remix it — adjust the sports, threshold, sizing, or add your own filters > (e.g., only trade NBA, require minimum volume, weight by recency). ## What It Does Scans active Polymarket sports markets and compares prices against the sportsbook consensus from The Odds API. When a market is mispriced relative to sharp bookmaker lines, it buys the underpriced side. **The edge:** Sportsbook lines are set by professional oddsmakers with billions in handle — they're extremely well-calibrated. Polymarket sports markets are thinner and less efficient. When they disagree, the books are usually right. ## How It Works Two parallel scanning modes run each cycle: **Game-level (h2h):** Matches individual Polymarket game markets against sportsbook moneylines. 1. Fetch active sports markets from Simmer (`GET /api/sdk/markets?q=<sport>`) 2. Fetch current h2h odds from The Odds API for the same sports 3. Match markets to games by comparing team names 4. Calculate implied probability from the sportsbook consensus (average across all bookmakers) 5. Compare against the Polymarket price — if divergence exceeds the threshold, trade **Futures (outrights):** Matches Polymarket championship/winner markets against sportsbook futures odds. 1. Fetch outrights from The Odds API (`_winner` sport keys, e.g., `basketball_nba_championship_winner`) 2. Search Simmer for futures markets (e.g., "NBA championship", "Super Bowl winner") 3. Match market questions to teams in the outrights data 4. Compare sportsbook implied probability vs Polymarket price and trade divergence ## Setup ### Environment Variables | Variable | Required | Default | Description | |----------|----------|---------|-------------| | `SIMMER_API_KEY` | Yes | — | Your Simmer API key | | `THE_ODDS_API_KEY` | Yes | — | Free key from [the-odds-api.com](https://the-odds-api.com) (500 req/month free) | | `LIVE` | No | `false` | Set to `true` for real trades. Default is dry-run. | | `MIN_DIVERGENCE` | No | `0.08` | Minimum spread to enter a trade (8%) | | `EXIT_SPREAD` | No | `0.02` | Exit when spread closes below this (2%) | | `TRADE_AMOUNT` | No | `10.0` | Dollars per trade | | `MAX_RESOLVE_DAYS` | No | `30` | Skip futures markets resolving beyond this (capital lock-up) | | `MIN_SHARES_TO_SELL` | No | `5.0` | Polymarket minimum sell size | | `API_TIMEOUT` | No | `30` | HTTP timeout in seconds | | `SPORTS` | No | 7 sports | Comma-separated game-level Odds API sport keys | | `FUTURES` | No | 4 leagues | Comma-separated futures sport keys | ### Get a Free Odds API Key 1. Go to [the-odds-api.com](https://the-odds-api.com) 2. Sign up for the free tier (500 requests/month) 3. Copy your API key 4. Set it: `export THE_ODDS_API_KEY=your_key_here` ## First Run Setup When a user first installs this skill, walk them through these configuration choices before running: 1. **API keys** — Confirm `SIMMER_API_KEY` and `THE_ODDS_API_KEY` are set. 2. **Divergence threshold** (`MIN_DIVERGENCE`) — Default is 8%. Lower values (e.g., 5%) find more trades but with thinner edges. Higher values (e.g., 10%) are more selective. Ask the user what level of aggression they prefer. 3. **Exit spread** (`EXIT_SPREAD`) — Default is 2%. This is when the arb is considered closed and the position is sold. Tighter values exit sooner. 4. **Trade size** (`TRADE_AMOUNT`) — Default $10 per trade. Ask the user what they're comfortable risking per position. 5. **Resolution window** (`MAX_RESOLVE_DAYS`) — Default 90 days. Skip futures markets that resolve beyond this horizon. Shorter = less capital lock-up, but may miss valid opportunities. 6. **Sports** — By default scans all major US sports plus EPL and MLS. The user can narrow to specific leagues if they prefer. 7. **Dry run** — Start with `LIVE=false` (the default) and review a few cycles of output before going live. Explain each setting and its trade-offs so the user can make an informed choice. ## Running ```bash # Dry run (default) — logs what it would trade python sports_edge.py # Live trading LIVE=true python sports_edge.py ``` ## Example Output ``` [Sports Edge] Scanning 7 sports + 4 futures... (dry_run=True, min_divergence=8%) [Sports Edge] NBA: Found 6 games with odds [Sports Edge] Matched: "Will the Celtics win vs Pacers?" → Boston Celtics vs Indiana Pacers [Sports Edge] Polymarket YES: 0.58 | Books: 0.69 | Divergence: +0.11 [Sports Edge] DRY RUN: Would buy YES at 0.58 (edge 11%) — 10.0 [Sports Edge] Futures NBA championship: Found 30 teams in outrights [Sports Edge] Matched: "Will the Celtics win the 2026 NBA Champion" → Boston Celtics [Sports Edge] Polymarket YES: 0.12 | Books: 0.22 | Divergence: +0.10 [Sports Edge] DRY RUN: Would buy YES at 0.12 (edge 10%) — 10.0 [Sports Edge] Done. 2 opportunities found (dry run). ```
Related Skills
simple-tech-analyzer - 简易技术分析器
**版本**: 1.0.0
SendTradeSignal
A specialized tool for sending quantitative trading signals to the FMZ platform via HTTP API.
jarvis-stock-monitor
全功能智能股票监控预警系统 Pro 版。支持成本百分比、均线金叉死叉、RSI 超买超卖、成交量异动、跳空缺口、动态止盈等 7 大预警规则。基础功能免费,高级功能 SkillPay 付费。
Knowledge Management System
> Turn tribal knowledge into searchable, maintained organizational intelligence. Stop losing expertise when people leave.
china-sportswear-outdoor-sourcing
Comprehensive sportswear and outdoor equipment sourcing guide for international buyers – provides detailed information about China's athletic apparel, footwear, outdoor gear, and accessories manufacturing clusters, supply chain structure, regional specializations, and industry trends (2026 updated).
edge-tts
Text-to-speech conversion using node-edge-tts npm package for generating audio from text. Supports multiple voices, languages, speed adjustment, pitch control, and subtitle generation. Use when: (1) User requests audio/voice output with the "tts" trigger or keyword. (2) Content needs to be spoken rather than read (multitasking, accessibility, driving, cooking). (3) User wants a specific voice, speed, pitch, or format for TTS output.
polymarket-openclaw-trader
Reusable Polymarket + OpenClaw trading operations skill for any workspace. Use when the user needs to set up, run, tune, monitor, and deploy an automated Polymarket trading project (paper/live), including env configuration, risk controls, reporting, and dashboard operations.
rag-knowledge-assistant
基于向量数据库的 RAG(检索增强生成) 知识库助手。支持语义检索、多格式文档 (PDF/Word/Excel/Markdown) 处理、智能问答。使用 Chroma 向量库 + BGE-M3 Embedding 模型。适用于从 knowledge 目录快速检索信息、回答基于文档的问题。触发词:"从知识库查"、"检索文档"、"RAG 查询"、"向量搜索"、"语义检索"等。
marketing-copy-knowledge
小黑老師 邱煜庭設計。Meta 廣告文案、Google 廣告文案、社群貼文:用 FABE x SPIN 產出更能轉換的廣告文案。支援 freemium/付費(X-Api-Key credits)。
polymarket-trade
Trade on Polymarket prediction markets on Polygon. Supports browsing markets, checking wallet/CLOB balance, and buying or selling YES/NO shares with safety gates. Wallet: WDK vault (~/.aurehub/.wdk_vault). Config: ~/.aurehub/polymarket.yaml. Triggers: buy YES, buy NO, sell shares, browse markets, check Polymarket balance, Polymarket trade, prediction market, what are the odds, redeem winnings, claim resolved positions.
openclaw-ledger
No description provided.
knowledge-gaps
Track questions Hans failed to answer and flag missing knowledge