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.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/hanguang254/polymarket-5m-botPolymarket Trading Bot
Automated trading bot for Polymarket 5-minute crypto UP/DOWN markets.
Architecture
auto_bot_v2.py (Main Loop)
→ Detects new 5-min markets (BTC/ETH)
→ Fetches Price-To-Beat via Playwright
→ Triggers AI analysis 80-100s before close
ai_analyze_v2.py (Decision Engine)
→ Binance technical analysis
→ Confidence scoring (Position 50%, Momentum 30%, RSI 10%, Volume 10%)
→ Executes bets via Polymarket CLI
monitor_bets.py (Notifications)
→ Monitors logs/bets.jsonl
→ Sends Telegram notifications on new bets
trading_state.py (Risk Management)
→ Tracks wins/losses
→ Enforces cooldown after consecutive losses
Setup
- Install Polymarket CLI and configure wallet (gnosis-safe mode)
- Install dependencies:
pip install requests playwright - Configure Telegram bot token and chat ID in
monitor_bets.py - Run:
python3 -u auto_bot_v2.py > logs/bot.log 2>&1 &
Strategy Parameters
Edit in scripts/ai_analyze_v2.py:
- Confidence threshold: ≥85% (line 63)
- EV threshold: >0.6 (line 64)
- Max odds: <0.85 (line 65)
- Bet size: Fixed 5 shares (Polymarket minimum)
Key Files
scripts/auto_bot_v2.py- Main monitoring loopscripts/ai_analyze_v2.py- AI decision engine with bet executionscripts/monitor_bets.py- Telegram notification scriptscripts/trading_state.py- Win/loss tracking and cooldown logic
Important Notes
- 5-minute markets cannot be exited early (orderbook disappears after close)
- Bot uses Binance data; Polymarket resolves via Chainlink (potential discrepancy)
- Minimum order: 5 shares (Polymarket hard limit)
- Uses
--signature-type gnosis-safefor all CLI commands
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-5m-bot": {
"enabled": true,
"auto_update": true
}
}
}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 Skill
Skill by hanguang254
Polymarket Trading Bot V2
Skill by hanguang254
meme-scanner
基于 GMGN 官方 API 的 Meme 币扫链工具。自动扫描热门代币,进行 AI 评分与风险分析,并推送格式化通知。完全使用 GMGN API,数据准确可靠。
token-analyzer
基于官方 GMGN API 的代币分析工具。通过合约地址查询代币在 SOL/BSC/Base 链上的准确市场数据、安全检测、KOL 分析、开发者分析和 AI 智能分析(叙事/筹码/老鼠仓/机器人)。支持自动识别链。