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.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/hanguang254/polymarket-trading-bot-skillWhat 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
- "OpenClaw, initialize the Polymarket bot and start monitoring BTC markets for 5-minute prediction opportunities."
- "Show me the recent decision history from the bot's log file and explain the AI reasoning behind the last three trades."
- "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_betfunction 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
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 skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-hanguang254-polymarket-trading-bot-skill": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, file-write, file-read, external-api, code-execution
Related Skills
polymarket-bot
Polymarket 5-minute crypto UP/DOWN market automated trading bot. AI-powered prediction using Binance technical analysis (Position, Momentum, RSI, Volume), automated betting via Polymarket CLOB API with gnosis-safe wallet mode. Use when setting up automated crypto trading on Polymarket, monitoring 5-minute BTC/ETH markets, or managing prediction market positions.
Polymarket Trading Bot V2
Skill by hanguang254
meme-scanner
基于 GMGN 官方 API 的 Meme 币扫链工具。自动扫描热门代币,进行 AI 评分与风险分析,并推送格式化通知。完全使用 GMGN API,数据准确可靠。
token-analyzer
基于官方 GMGN API 的代币分析工具。通过合约地址查询代币在 SOL/BSC/Base 链上的准确市场数据、安全检测、KOL 分析、开发者分析和 AI 智能分析(叙事/筹码/老鼠仓/机器人)。支持自动识别链。
polymarket-bot
Polymarket 5-minute crypto UP/DOWN market automated trading bot. AI-powered prediction using Binance technical analysis (Position, Momentum, RSI, Volume), automated betting via Polymarket CLOB API with gnosis-safe wallet mode. Use when setting up automated crypto trading on Polymarket, monitoring 5-minute BTC/ETH markets, or managing prediction market positions.