ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified finance Safety 2/5

Polymarket Trading Bot Skill

Skill by hanguang254

Why use this skill?

Automate your Polymarket 5-minute prediction trades with an AI-powered agent. Features real-time price monitoring, EV-based analysis, and robust risk management for crypto traders.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/hanguang254/polymarket-trading-bot-skill
Or

What This Skill Does

The Polymarket Trading Bot Skill is a specialized AI agent designed for automated decision-making in 5-minute BTC/ETH price prediction markets on Polymarket. It performs real-time market detection by polling the Polymarket API and fetches the critical 'Price to Beat' (PTB) via a multi-layered extraction system that includes API fallback, HTML parsing, and Playwright browser simulation. Using a sophisticated AI-driven scoring model, the bot evaluates positions, momentum, RSI, and volume, calculating the Expected Value (EV) of trades to ensure they meet strict performance criteria before triggering any action. It is designed to be a transparent, data-backed companion for traders who want to remove emotional bias from short-term market speculation.

Installation

To integrate this skill into your environment, use the OpenClaw CLI: clawhub install openclaw/skills/skills/hanguang254/polymarket-trading-bot-skill After installation, ensure you have the required Python 3.8+ environment. You must install the browser engine by running playwright install chromium to allow the bot to bypass dynamic web content restrictions during PTB extraction. Review the auto_bot_v2.py script to configure betting logic, which is disabled by default for your safety.

Use Cases

This skill is perfect for algorithmic traders looking to automate market analysis. It is highly effective for high-frequency short-term prediction markets, monitoring market volatility in real-time, backtesting trading strategies against stored decision history in logs/decisions_v2.jsonl, and executing automated trades when high-confidence opportunities appear based on pre-set EV thresholds.

Example Prompts

  1. "OpenClaw, initialize the Polymarket bot and start monitoring BTC markets for 5-minute prediction opportunities."
  2. "Show me the recent decision history from the bot's log file and explain the AI reasoning behind the last three trades."
  3. "Check the current system status of the Polymarket trading agent and confirm that the PTB extraction service is active."

Tips & Limitations

  • Safety First: The bot runs in 'dry-run' mode by default. Do not uncomment the execute_bet function until you have thoroughly audited the strategy and confirmed your risk tolerance.
  • Dependencies: Keep your Playwright binaries updated, as Polymarket's web structure may change, requiring the bot's fallback mechanisms to trigger.
  • Data Accuracy: Ensure your network latency is low, as market prediction windows are extremely tight (approx. 40 seconds before close).
  • Limitations: The bot relies on the availability of public APIs and DOM structures; significant site updates to Polymarket may result in temporary extraction failures.

Metadata

Stars2387
Views0
Updated2026-03-09
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-hanguang254-polymarket-trading-bot-skill": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#trading#polymarket#defi#prediction-markets#automation
Safety Score: 2/5

Flags: network-access, file-write, file-read, external-api, code-execution