微算力 · API 导航与自营网关
API 接入 EN
未登录登录
✨

Polymarket Sports Edge

Polymarket Sports Edge · v1.2.0
安全 unknown 级 作者 0xjims 公开目录收录
1k 下载 1 安装 4.2k 收藏 4 浏览

简介

Polymarket Sports Edge

原始描述

Find odds divergence between sportsbook consensus and Polymarket sports markets, then trade the gap.

通过你的 Agent 添加

安装目录:polymarket-sports-edge/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/polymarket-sports-edge/
Codex CLI~/.codex/skills/polymarket-sports-edge/
DeepSeek Harness~/.agents/skills/polymarket-sports-edge/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

技能正文


name: polymarket-sports-edge description: Find odds divergence between sportsbook consensus and Polymarket sports markets, then trade the gap. metadata: author: "jim.sexton" version: "1.1.0" displayName: "Polymarket Sports Edge" difficulty: "intermediate"

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 Description
SIMMER_API_KEY Yes Your Simmer API key
THE_ODDS_API_KEY Yes Free key from the-odds-api.com (500 req/month free)
MIN_DIVERGENCE No Minimum probability gap to trade (default: 0.08 = 8%)
TRADE_AMOUNT No Amount per trade in venue currency (default: 10.0)
SPORTS No Comma-separated Odds API sport keys (default: NBA, NFL, NHL, MLB, MMA, EPL, MLS)
FUTURES No Comma-separated futures sport keys (default: NBA, NFL, NHL, MLB championship winners)
LIVE No Set to true for real trades. Default is dry-run.

Get a Free Odds API Key

  1. Go to 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

Running

# 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).

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

没有标签

同类 Skill