polymarket-arbitrageMonitor and execute arbitrage opportunities on Polymarket prediction markets. Detects math arbitrage (multi-outcome probability mismatches), cross-market arbitrage (same event different prices), and orderbook inefficiencies. Use when user wants to find or trade Polymarket arbitrage, monitor prediction markets for opportunities, or implement automated trading strategies. Includes risk management, P&L tracking, and alerting.
Install via ClawdBot CLI:
clawdbot install JohnY0920/polymarket-arbitrageFind and execute arbitrage opportunities on Polymarket prediction markets.
Run a single scan to see current opportunities:
cd skills/polymarket-arbitrage
pip install requests beautifulsoup4
python scripts/monitor.py --once --min-edge 3.0
View results in polymarket_data/arbs.json
Monitor every 5 minutes and alert on new opportunities:
python scripts/monitor.py --interval 300 --min-edge 3.0
Stop with Ctrl+C
Each detected arbitrage includes:
Good opportunities:
math_arb_buy (safer)Type A: Buy All Outcomes (prob sum < 100%)
Type B: Sell All Outcomes (prob sum > 100%)
See references/arbitrage_types.md for detailed examples and strategies.
Same event priced differently across markets (not yet implemented - requires semantic matching).
Requires real-time orderbook data (homepage shows midpoints, not executable prices).
Scrape Polymarket homepage for active markets.
python scripts/fetch_markets.py --output markets.json --min-volume 50000
Returns JSON with market probabilities, volumes, and metadata.
Analyze markets for arbitrage opportunities.
python scripts/detect_arbitrage.py markets.json --min-edge 3.0 --output arbs.json
Accounts for:
Continuous monitoring with alerting.
python scripts/monitor.py --interval 300 --min-edge 3.0 [--alert-webhook URL]
Features:
polymarket_data/Goal: Understand opportunity frequency and quality
Decision point: If seeing 3-5 good opportunities per week, proceed to Phase 2.
Goal: Learn platform mechanics
Decision point: If profitable after 20+ trades, proceed to Phase 3.
Goal: Increase position sizes
Requires:
Only consider after consistently profitable manual trading.
See references/getting_started.md for detailed setup instructions.
Polymarket charges:
Conservative assumption: 2% per leg (assume taker)
Breakeven calculation:
Target: 3-5% NET profit (after fees)
Homepage probabilities are stale or represent midpoints, not executable prices. This is normal. Real arbs disappear in seconds.
Liquidity issue. Low-volume markets show misleading probabilities. Stick to $1M+ volume markets.
Increase --min-edge threshold. Try 4-5% for more conservative filtering.
All monitoring data stored in ./polymarket_data/:
markets.json - Latest market scanarbs.json - Detected opportunitiesalert_state.json - Deduplication state (which arbs already alerted)Pass webhook URL to monitor script for alerts:
python scripts/monitor.py --alert-webhook "https://api.telegram.org/bot<token>/sendMessage?chat_id=<id>"
For a 2-outcome math arb with probabilities pā and pā where pā + pā < 100%:
Optimal allocation:
This ensures equal profit regardless of which outcome wins.
Simplified rule: For small edges, split capital evenly across outcomes.
Arbs disappear fast. If planning automation:
For skill issues:
references/arbitrage_types.md for strategy detailsreferences/getting_started.md for setup helppolymarket_data/pip install requests beautifulsoup4Generated Mar 1, 2026
A firm specializing in algorithmic trading uses this skill to identify and execute math arbitrage opportunities on Polymarket. They integrate it with their existing risk management systems to automate trades, focusing on high-volume markets with edges above 3% to generate consistent returns.
A hedge fund diversifies into prediction markets by deploying this skill to monitor Polymarket for inefficiencies. They use it for paper trading initially to validate opportunity frequency, then scale up with manual trades to hedge against traditional market volatility.
A retail trader with experience in crypto markets uses this skill to find low-risk arbitrage opportunities. They follow the phased workflow, starting with paper trading and micro-testing small amounts to learn mechanics before scaling up positions cautiously.
A startup building a platform for automated prediction market trading integrates this skill as a core module. They leverage it to offer arbitrage monitoring services to clients, with alerts and P&L tracking, while planning future automation features.
A university research team studies market efficiency in prediction markets by using this skill to collect data on arbitrage opportunities. They analyze frequency, edge sizes, and liquidity to publish insights on decentralized finance dynamics.
Offer this skill as a cloud-based service where users pay a monthly fee for access to real-time arbitrage alerts, analytics dashboards, and API integrations. Revenue comes from tiered subscriptions based on features like alert frequency or data depth.
Provide consulting services to help firms or individuals set up and optimize the skill for their specific needs, including custom risk management rules and integration support. Revenue is generated through hourly rates or project-based fees.
Deploy the skill in-house to execute trades automatically, sharing a percentage of the profits with users who provide capital. This model requires advanced automation and compliance, focusing on scalable, high-frequency opportunities.
š¬ Integration Tip
Start with paper trading using the monitor script to validate opportunity quality before integrating with live trading systems, and ensure strict adherence to the 5% position size rule to manage risk.
Analyze stocks and cryptocurrencies using Yahoo Finance data. Supports portfolio management, watchlists with alerts, dividend analysis, 8-dimension stock scoring, viral trend detection (Hot Scanner), and rumor/early signal detection. Use for stock analysis, portfolio tracking, earnings reactions, crypto monitoring, trending stocks, or finding rumors before they hit mainstream.
Get stock prices, quotes, fundamentals, earnings, options, dividends, and analyst ratings using Yahoo Finance. Uses yfinance library - no API key required.
Yahoo Finance (yfinance) powered stock analysis skill: quotes, fundamentals, ASCII trends, high-resolution charts (RSI/MACD/BB/VWAP/ATR), plus optional web a...
Become an autonomous prediction market trader on Polymarket with AI-powered analysis and a performance-backed token on Base. Trade real markets, build a track record, and let the buyback flywheel run.
Get cryptocurrency token price and generate candlestick charts via CoinGecko API or Hyperliquid API. Use when user asks for token price, crypto price, price chart, or cryptocurrency market data.
Trade and monitor Hyperliquid perpetual futures. Check balances, view positions with P&L, place/cancel orders, execute market trades. Use when the user asks about Hyperliquid trading, portfolio status, crypto positions, or wants to execute trades on Hyperliquid.