jpskill.com
🛠️ 開発・MCP コミュニティ

trade-prediction-markets

Polymarketの予測市場でYES/NOトークン取引戦略を構築・テストし、政治・経済・スポーツなどのイベントに関する価格変動を分析、バックテストを通して取引戦略の有効性を検証するSkill。

📜 元の英語説明(参考)

Build and test Polymarket prediction market trading strategies for YES/NO token trading. Provides 6 tools: get_all_prediction_events (browse markets, $0.001), get_prediction_market_data (analyze price history, $0.001), create_prediction_market_strategy (generate code, $1-$4.50), run_prediction_market_backtest (test performance, $0.001). Trade on real-world events (politics, economics, sports, crypto). Currently simulation only (live deployment coming soon).

🇯🇵 日本人クリエイター向け解説

一言でいうと

Polymarketの予測市場でYES/NOトークン取引戦略を構築・テストし、政治・経済・スポーツなどのイベントに関する価格変動を分析、バックテストを通して取引戦略の有効性を検証するSkill。

※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。

⚡ おすすめ: コマンド1行でインストール(60秒)

下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。

🍎 Mac / 🐧 Linux
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o trade-prediction-markets.zip https://jpskill.com/download/8544.zip && unzip -o trade-prediction-markets.zip && rm trade-prediction-markets.zip
🪟 Windows (PowerShell)
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/8544.zip -OutFile "$d\trade-prediction-markets.zip"; Expand-Archive "$d\trade-prediction-markets.zip" -DestinationPath $d -Force; ri "$d\trade-prediction-markets.zip"

完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して trade-prediction-markets.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → trade-prediction-markets フォルダができる
  3. 3. そのフォルダを C:\Users\あなたの名前\.claude\skills\(Win)または ~/.claude/skills/(Mac)へ移動
  4. 4. Claude Code を再起動

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-18
取得日時
2026-05-18
同梱ファイル
1

📖 Skill本文(日本語訳)

※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。

Prediction Markets での取引

クイックスタート

この Skill は、現実世界のイベントに関する Polymarket の Prediction Markets (YES/NO トークン) での取引を可能にします。

まずツールをロードします:

Use MCPSearch to select: mcp__workbench__get_all_prediction_events
Use MCPSearch to select: mcp__workbench__get_prediction_market_data
Use MCPSearch to select: mcp__workbench__create_prediction_market_strategy

基本的なワークフロー:

1. マーケットを閲覧する:
   get_all_prediction_events(market_category="crypto_rolling")
   → BTC/ETH 価格予測マーケットを見る

2. マーケットデータを分析する:
   get_prediction_market_data(condition_id="0x123...")
   → YES/NO トークンの価格履歴を調査する

3. 戦略を作成する:
   create_prediction_market_strategy(
       strategy_name="PolymarketArb_M",
       description="価格が40%未満のときにYESを買い、55%で売る"
   )

4. 戦略をテストする:
   run_prediction_market_backtest(
       strategy_name="PolymarketArb_M",
       ...
   )

この Skill を使用するタイミング:

  • 現実世界のイベント (選挙、FRB の決定、スポーツ) での取引
  • 二者択一の結果 (YES/NO) へのエクスポージャーを希望する場合
  • 確率に基づいた取引に興味がある場合
  • Prediction Markets の機会を探求する場合

利用可能なツール (6)

get_all_prediction_events

目的: 利用可能な Polymarket の Prediction Markets を閲覧する

パラメータ:

  • active_only (オプション、boolean): アクティブなイベントのみ (デフォルト: true)
  • market_category (オプション、string): カテゴリでフィルタリング

カテゴリ:

  • crypto_rolling: 暗号資産の価格予測 (次の1時間で BTC >$100k になるか?)
  • politics: 選挙、政策決定
  • economics: GDP、インフレ、FRB の決定
  • sports: 試合結果、選手権
  • entertainment: 賞、興行収入

戻り値: 名前、カテゴリ、マーケット、condition ID、解決ステータスを含むイベントのリスト

価格: $0.001

使用タイミング: 取引機会の発見、利用可能なマーケットの閲覧

get_prediction_market_data

目的: 特定のマーケットの YES/NO トークンの価格履歴を分析する

パラメータ:

  • condition_id (必須): Polymarket の condition ID
  • start_date (オプション): 開始日からのフィルタ (YYYY-MM-DD)
  • end_date (オプション): 終了日までのフィルタ (YYYY-MM-DD)
  • timeframe (オプション): ローソク足の時間枠 (1m, 5m, 15m, 30m, 1h, 4h, デフォルト: 1m)
  • limit (オプション、1-10000): トークンごとの最大ローソク足数 (デフォルト: 1000)

戻り値: マーケットメタデータ、YES トークンの価格時系列、NO トークンの価格時系列

価格: $0.001

使用タイミング: マーケットの価格履歴の分析、トークンの挙動の調査、戦略コンセプトの検証

create_prediction_market_strategy

目的: YES/NO 取引ロジックを含む Polymarket 戦略コードを生成する

パラメータ:

  • strategy_name (必須): 戦略名 (パターン: Name_RiskLevel に従う)
  • description (必須): YES/NO ロジック、出口基準、ポジションサイジングの詳細な要件

戻り値: 完全な Python PolymarketStrategy コード

価格: 実際の LLM コスト + マージン (最大 $4.50)

実行時間: ~30-60 秒

使用タイミング: 新しい Polymarket 戦略の構築

run_prediction_market_backtest

目的: 過去のデータで Prediction Markets 戦略をテストする

パラメータ:

  • strategy_name (必須): テストする PolymarketStrategy
  • start_date (必須): 開始日 (YYYY-MM-DD)
  • end_date (必須): 終了日 (YYYY-MM-DD)
  • condition_id (単一マーケットの場合): 特定の condition ID
  • asset (ローリングマーケットの場合): アセットシンボル ("BTC", "ETH")
  • interval (ローリングマーケットの場合): マーケット間隔 ("15m", "1h")
  • initial_balance (オプション): 開始 USDC (デフォルト: 10000)
  • timeframe (オプション): 実行時間枠 (デフォルト: 1m)

戻り値: バックテストメトリクス (損益、勝率、ポジション履歴)

価格: $0.001

実行時間: ~20-60 秒

使用タイミング: Prediction Markets 戦略の検証

get_data_availability

目的: Polymarket マーケットで利用可能なデータ範囲を確認する

パラメータ:

  • data_type: "polymarket" または "all"
  • asset (オプション): アセットでフィルタリング
  • include_resolved (オプション): 解決済みのマーケットを含める

戻り値: 日付範囲を含むデータ可用性

価格: $0.001

使用タイミング: バックテストの前に (十分なデータがあることを確認する)

get_latest_backtest_results

目的: 最近の Prediction Markets バックテスト結果を表示する

パラメータ:

  • strategy_name (オプション): 戦略でフィルタリング
  • limit (オプション): 結果の数

戻り値: 最近のバックテスト記録

価格: 無料

使用タイミング: 既存のバックテスト結果の確認

コアコンセプト

Prediction Markets の仕組み

YES/NO トークンの構造:

イベント: "BTC は1時間以内に $100,000 を超えるか?"

YES トークン:
- イベントが発生した場合、$1.00 を支払う
- イベントが発生しなかった場合、$0.00 を支払う
- 現在価格 = マーケットの暗黙の確率
- 例: YES トークンが $0.65 = 65% の暗黙の確率

NO トークン:
- イベントが発生しなかった場合、$1.00 を支払う
- イベントが発生した場合、$0.00 を支払う
- 現在価格 = 1 - YES 価格
- 例: NO トークンが $0.35 = 35% の暗黙の確率

合計: YES 価格 + NO 価格 ≈ $1.00 (そうでない場合はアービトラージ)

取引の仕組み:

シナリオ: YES トークンが $0.40

YES トークンを購入する:
- 今 $0.40 を支払う
- イベントが発生した場合: $1.00 を受け取る (利益 $0.60 = 150% のリターン)
- イベントが発生しなかった場合: $0.40 を失う (-100% のリターン)

リスク/リワード:
- $0.60 を得るために $0.40 をリスクにさらす
- 1.5:1 のリワード:リスク比率
- 損益分岐点を超えるには >40% の勝率が必要

マーケットカテゴリ

暗号資産ローリングマーケット (高頻度):

タイプ: 継続的な Prediction Markets
頻度: 15 分ごと、1 時間ごと、4 時間ごとなど
質問: "BTC 価格は次の [interval] で上昇するか?"

例:
- 1 時間 BTC ローリングマーケット
- 毎時間新しいマーケット
- BTC が現在の価格より高く引けるかどうかを予測する

ユースケース: 短期的な価格投機
取引スタイル: アクティブ、高頻度

政治 (イベントドリブン):


タイプ: 1 回限りのイベント
頻度: さまざま (選挙、政策決定)
タイムライン: 解決まで数日から数か月

例:
- "候補者 X は選挙に勝つか?"
- "法案 Y は日付 Z までに議会を通過するか?"
- "FRB は次の会合で利下げするか?"

ユースケース: イベント投機
取引
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開

Trade Prediction Markets

Quick Start

This skill enables trading on Polymarket prediction markets (YES/NO tokens) for real-world events.

Load the tools first:

Use MCPSearch to select: mcp__workbench__get_all_prediction_events
Use MCPSearch to select: mcp__workbench__get_prediction_market_data
Use MCPSearch to select: mcp__workbench__create_prediction_market_strategy

Basic workflow:

1. Browse markets:
   get_all_prediction_events(market_category="crypto_rolling")
   → See BTC/ETH price prediction markets

2. Analyze market data:
   get_prediction_market_data(condition_id="0x123...")
   → Study YES/NO token price history

3. Create strategy:
   create_prediction_market_strategy(
       strategy_name="PolymarketArb_M",
       description="Buy YES when price <40%, sell at 55%"
   )

4. Test strategy:
   run_prediction_market_backtest(
       strategy_name="PolymarketArb_M",
       ...
   )

When to use this skill:

  • Trading on real-world events (elections, Fed decisions, sports)
  • Want binary outcome exposure (YES/NO)
  • Interested in probability-based trading
  • Exploring prediction market opportunities

Available Tools (6)

get_all_prediction_events

Purpose: Browse available Polymarket prediction markets

Parameters:

  • active_only (optional, boolean): Only active events (default: true)
  • market_category (optional, string): Filter by category

Categories:

  • crypto_rolling: Crypto price predictions (BTC >$100k in next hour?)
  • politics: Elections, policy decisions
  • economics: GDP, inflation, Fed decisions
  • sports: Game outcomes, championships
  • entertainment: Awards, box office results

Returns: List of events with names, categories, markets, condition IDs, resolution status

Pricing: $0.001

Use when: Discovering trading opportunities, browsing available markets

get_prediction_market_data

Purpose: Analyze YES/NO token price history for specific market

Parameters:

  • condition_id (required): Polymarket condition ID
  • start_date (optional): Filter from date (YYYY-MM-DD)
  • end_date (optional): Filter to date (YYYY-MM-DD)
  • timeframe (optional): Candle timeframe (1m, 5m, 15m, 30m, 1h, 4h, default: 1m)
  • limit (optional, 1-10000): Max candles per token (default: 1000)

Returns: Market metadata, YES token price timeseries, NO token price timeseries

Pricing: $0.001

Use when: Analyzing market price history, researching token behavior, validating strategy concepts

create_prediction_market_strategy

Purpose: Generate Polymarket strategy code with YES/NO trading logic

Parameters:

  • strategy_name (required): Strategy name (follow pattern: Name_RiskLevel)
  • description (required): Detailed requirements for YES/NO logic, exit criteria, position sizing

Returns: Complete Python PolymarketStrategy code

Pricing: Real LLM cost + margin (max $4.50)

Execution Time: ~30-60 seconds

Use when: Building new Polymarket strategies

run_prediction_market_backtest

Purpose: Test prediction market strategy on historical data

Parameters:

  • strategy_name (required): PolymarketStrategy to test
  • start_date (required): Start date (YYYY-MM-DD)
  • end_date (required): End date (YYYY-MM-DD)
  • condition_id (for single market): Specific condition ID
  • asset (for rolling markets): Asset symbol ("BTC", "ETH")
  • interval (for rolling markets): Market interval ("15m", "1h")
  • initial_balance (optional): Starting USDC (default: 10000)
  • timeframe (optional): Execution timeframe (default: 1m)

Returns: Backtest metrics (profit/loss, win rate, position history)

Pricing: $0.001

Execution Time: ~20-60 seconds

Use when: Validating prediction market strategies

get_data_availability

Purpose: Check available data ranges for Polymarket markets

Parameters:

  • data_type: "polymarket" or "all"
  • asset (optional): Filter by asset
  • include_resolved (optional): Include resolved markets

Returns: Data availability with date ranges

Pricing: $0.001

Use when: Before backtesting (verify sufficient data)

get_latest_backtest_results

Purpose: View recent prediction market backtest results

Parameters:

  • strategy_name (optional): Filter by strategy
  • limit (optional): Number of results

Returns: Recent backtest records

Pricing: Free

Use when: Checking existing backtest results

Core Concepts

Prediction Market Mechanics

YES/NO Token Structure:

Event: "Will BTC exceed $100,000 by end of hour?"

YES Token:
- Pays $1.00 if event occurs
- Pays $0.00 if event doesn't occur
- Current price = Market's implied probability
- Example: YES token at $0.65 = 65% implied probability

NO Token:
- Pays $1.00 if event DOESN'T occur
- Pays $0.00 if event occurs
- Current price = 1 - YES price
- Example: NO token at $0.35 = 35% implied probability

Total: YES price + NO price ≈ $1.00 (arbitrage if not)

How trading works:

Scenario: YES token at $0.40

Buy YES token:
- Pay $0.40 now
- If event occurs: Receive $1.00 (profit $0.60 = 150% return)
- If event doesn't occur: Lose $0.40 (-100% return)

Risk/Reward:
- Risking $0.40 to make $0.60
- 1.5:1 reward:risk ratio
- Need >40% win rate to break even

Market Categories

Crypto Rolling Markets (high frequency):

Type: Continuous prediction markets
Frequency: Every 15m, 1h, 4h, etc.
Question: "Will BTC price increase next [interval]?"

Example:
- 1h BTC rolling market
- New market every hour
- Predict if BTC closes higher than current price

Use case: Short-term price speculation
Trading style: Active, high frequency

Politics (event-driven):

Type: One-time events
Frequency: Varies (elections, policy decisions)
Timeline: Days to months until resolution

Examples:
- "Will candidate X win election?"
- "Will bill Y pass Congress by date Z?"
- "Will Fed cut rates in next meeting?"

Use case: Event speculation
Trading style: Position trading, hold until resolution

Economics (data release):

Type: Scheduled data releases
Frequency: Monthly, quarterly
Timeline: Fixed resolution dates

Examples:
- "Will CPI exceed 3.5% next month?"
- "Will GDP growth exceed 2% this quarter?"
- "Will unemployment rate decrease?"

Use case: Economic data predictions
Trading style: Position before release, exit at resolution

Sports (scheduled events):

Type: Game outcomes, championships
Frequency: Varies by sport
Timeline: Hours to months

Examples:
- "Will Team X win game tonight?"
- "Will Player Y score >25 points?"
- "Will Team Z win championship?"

Use case: Sports betting alternative
Trading style: Event-based positions

Strategy Types

Probability Arbitrage (mean reversion):

Concept: Buy underpriced probabilities, sell when corrected

Example:
- Event has ~60% true probability
- YES token priced at $0.45 (implies 45%)
- Buy YES (underpriced)
- Sell when price reaches $0.60 (fair value)

Advantages: Mathematical edge if probability estimation accurate
Disadvantages: Requires good probability estimation

Trend Following (momentum):

Concept: Follow YES/NO token price momentum

Example:
- YES token price rising from $0.30 → $0.45
- Buy YES (momentum continuing)
- Exit when momentum fades

Advantages: Captures strong moves
Disadvantages: Late entries, whipsaws

Mean Reversion (range trading):

Concept: Fade extreme probability movements

Example:
- YES token spikes to $0.85 (85% implied)
- Seems too high, buy NO token ($0.15)
- Exit when reverts toward mean

Advantages: Profits from overreactions
Disadvantages: Catching falling knives (sometimes market is right)

Event-Driven (catalyst trading):

Concept: Trade based on news/catalysts

Example:
- Positive news for candidate X
- Buy YES token before market fully reacts
- Exit after market prices in news

Advantages: Early mover advantage
Disadvantages: Requires fast news reaction

Rolling Markets

How rolling markets work:

BTC 1h Rolling Market:

Hour 1 (12:00-13:00):
- Market created at 12:00
- Question: "Will BTC close higher at 13:00 than 12:00?"
- YES/NO tokens trade 12:00-13:00
- Resolves at 13:00 based on price change

Hour 2 (13:00-14:00):
- New market created at 13:00
- Previous market resolved
- Profits/losses settled
- Process repeats

Strategy rolls from market to market automatically

Advantages of rolling markets:

  • Continuous trading opportunities
  • More data for backtesting (many markets)
  • Predictable resolution times
  • Suitable for algorithmic trading

Disadvantages:

  • Higher frequency = more fees
  • Requires active monitoring
  • Shorter time to resolution (less time to be right)

Polymarket Strategy Framework

Required methods:

class MyPolymarketStrategy(PolymarketStrategy):
    def should_buy_yes(self) -> bool:
        """Check if conditions met for YES token purchase"""
        # Return True to buy YES token

    def should_buy_no(self) -> bool:
        """Check if conditions met for NO token purchase"""
        # Return True to buy NO token

    def go_yes(self):
        """Execute YES token purchase with position sizing"""
        # Calculate position size
        # Buy YES token

    def go_no(self):
        """Execute NO token purchase with position sizing"""
        # Calculate position size
        # Buy NO token

Optional methods:

    def should_sell_yes(self) -> bool:
        """Exit YES position"""
        # Return True to sell YES tokens

    def should_sell_no(self) -> bool:
        """Exit NO position"""
        # Return True to sell NO tokens

    def on_market_resolution(self):
        """Handle market settlement"""
        # Called when market resolves
        # Settle P&L

Best Practices

Market Selection

Choose liquid markets:

High liquidity: >$50k volume
- Tight spreads
- Easy entry/exit
- Reliable pricing

Low liquidity: <$10k volume
- Wide spreads
- Difficult exits
- Slippage risk

Recommendation: Start with high-volume markets

Prefer clear resolution criteria:

GOOD: "Will BTC close above $100k at 5pm EST on Jan 1, 2025?"
- Objective resolution source (price data)
- Specific date and time
- No ambiguity

BAD: "Will crypto have a good year in 2025?"
- Subjective ("good" is undefined)
- Ambiguous resolution criteria
- Dispute risk

Avoid ambiguous outcomes:

Check resolution source:
- Data-driven (prices, scores, votes) → Good
- Subjective judgment → Bad
- "Community decides" → High dispute risk

Research past market resolutions:
- Were resolutions fair?
- Any disputed outcomes?
- Market maker credibility

Strategy Development

Define clear probability thresholds:

Example: Probability arbitrage strategy

Entry logic:
- Buy YES if price <40% (undervalued)
- Buy NO if price <40% (YES >60%, overvalued)

Exit logic:
- Sell YES at 55% (15% profit target)
- Sell NO at 55% (symmetric)
- Stop loss at 25% (37.5% loss, preserve capital)

Include position sizing:

Fixed percentage:
- 5% of capital per market
- Max 10 simultaneous positions = 50% deployed
- Conservative, predictable

Kelly Criterion:
- Size based on edge and odds
- More aggressive, optimal growth
- Requires accurate probability estimation

Set exit criteria:

Profit targets:
- Sell at X% gain (e.g., 15% above entry)

Time-based exits:
- Close position Y hours before resolution
- Avoid last-minute volatility

Stop losses:
- Sell if price drops below Z% (e.g., 60% of entry)
- Preserve capital on wrong predictions

Risk Management

Position limits:

Per market: 5-10% of capital
- Limits single-market exposure
- Diversifies risk

Total exposure: 50-70% of capital
- Leaves cash buffer
- Allows for new opportunities
- Prevents overtrading

Market diversification:

Don't concentrate in one category:
- 3 crypto markets
- 2 politics markets
- 2 sports markets
→ Diversified across event types

Avoid:
- 10 BTC rolling markets
→ All correlated, high concentration risk

Liquidity monitoring:

Check before entry:
- Current volume
- Bid/ask spread
- Order book depth

If liquidity drops:
- May be unable to exit
- Accept mark-to-market loss
- Or hold until resolution

Common Workflows

Workflow 1: Exploring Rolling Markets

Goal: Find BTC rolling market trading opportunities

1. Browse crypto rolling markets:
   get_all_prediction_events(market_category="crypto_rolling")
   → Lists BTC, ETH rolling markets with intervals

2. Check data availability:
   get_data_availability(data_type="polymarket", asset="BTC")
   → Verify sufficient history for backtesting

3. Analyze specific market:
   get_prediction_market_data(
       condition_id="0x123...",
       timeframe="1m",
       limit=5000
   )
   → Study YES/NO token price patterns

4. Identify strategy:
   - YES token often overshoots (>60%)
   - Mean reversion opportunity
   - Buy NO when YES >65%, exit at 55%

5. Create strategy:
   create_prediction_market_strategy(
       strategy_name="BTCRollingMeanRev_M",
       description="Buy NO token when YES >65%, exit at 55%..."
   )

6. Backtest strategy:
   run_prediction_market_backtest(
       strategy_name="BTCRollingMeanRev_M",
       asset="BTC",
       interval="1h",
       start_date="2024-01-01",
       end_date="2024-12-31"
   )

Cost: ~$2.50 ($0.003 data + $2.50 strategy creation)

Workflow 2: Event-Driven Politics Trading

Goal: Trade on election prediction market

1. Browse politics markets:
   get_all_prediction_events(market_category="politics")
   → Find election markets

2. Analyze candidate X market:
   get_prediction_market_data(condition_id="election_123")
   → Study YES token price leading up to election

3. Identify pattern:
   - YES token very volatile
   - Spikes on good news, drops on bad news
   - Opportunities to buy dips, sell spikes

4. Create strategy:
   create_prediction_market_strategy(
       strategy_name="ElectionDipBuy_M",
       description="Buy YES when price drops >15% in 24h,
                   sell when recovers to pre-drop level..."
   )

5. Backtest (limited data for one-time events):
   - May have insufficient data for thorough backtest
   - Analyze manually or use similar past events

6. Trade carefully:
   - Event markets have less data
   - Higher uncertainty
   - Start with smaller position sizes

Cost: ~$2.50

Workflow 3: Multi-Market Portfolio

Goal: Build diversified prediction market portfolio

1. Identify multiple opportunities:
   - BTC 1h rolling (crypto)
   - Fed decision (economics)
   - Championship game (sports)

2. Create strategies for each:
   - Strategy 1: BTC rolling mean reversion
   - Strategy 2: Fed decision probability arbitrage
   - Strategy 3: Sports underdog value

3. Backtest all strategies:
   run_prediction_market_backtest(...) for each

4. Allocate capital:
   - BTC rolling: 15% (more data, higher confidence)
   - Fed decision: 10% (one-time event, moderate confidence)
   - Sports: 5% (less data, lower confidence)
   Total: 30% deployed, 70% cash

5. Monitor performance:
   - Track each strategy independently
   - Rebalance based on results
   - Stop underperformers

Cost: ~$7.50 (3 strategies)

Troubleshooting

"No Prediction Events Found"

Issue: get_all_prediction_events returns empty

Solutions:

  • Try active_only=False to see resolved markets
  • Check different market_category
  • Markets may be temporarily unavailable

"Insufficient Market Data"

Issue: Not enough history for backtesting

Solutions:

  • Prediction markets have shorter history than crypto
  • Use shorter backtest periods (1-3 months)
  • Focus on rolling markets (more data points)
  • Some events are one-time (limited data)

"Strategy Performs Poorly"

Issue: Backtest shows losses

Solutions:

  • Prediction markets are efficient (hard to beat)
  • Check if probability estimation is accurate
  • Verify strategy logic makes sense
  • Consider fees and slippage
  • May need more sophisticated approach

Next Steps

After creating prediction market strategies:

Test thoroughly:

  • Use test-trading-strategies for backtesting
  • Validate on multiple markets
  • Check win rate and profit factor

Refine strategies:

  • Use improve-trading-strategies to refine
  • Optimize thresholds and parameters
  • Test improvements

Live deployment (when supported):

  • Currently simulation only
  • Live Polymarket deployment coming soon
  • Will use deploy-live-trading when available

Summary

This skill provides Polymarket prediction market trading:

  • 6 tools: Events browsing, data analysis, strategy creation, backtesting
  • Cost: $0.001 for data, $1-$4.50 for strategy creation
  • Markets: Politics, economics, sports, crypto rolling
  • Status: Simulation only (live deployment coming)

Core principle: Prediction markets trade YES/NO tokens on real-world events. Success requires accurate probability estimation and disciplined risk management.

Best practices: Choose liquid markets with clear resolution criteria, diversify across event types, use proper position sizing (5-10% per market), set profit targets and stop losses.

Current limitation: Live deployment not yet supported. Use for backtesting and strategy development. Live trading will be available in future updates.

Note: Prediction markets are efficient. Beating them consistently is difficult. Start with simulation, validate edge thoroughly before risking capital (when live deployment available).