Overview
- Skill Key
- hanguang254/polymarket-trading-bot-skill
- Author
- hanguang254
- Source Repo
- openclaw/skills
- Version
- -
- Source Path
- skills/hanguang254/polymarket-trading-bot-skill
- Latest Commit SHA
- 668ee7bfe6147837d102081b10c6dd2c8a0db2d7
Polymarket Trading Bot
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 Polymarket Trading Bot Skill 技能。 若已安装,则直接安装 Polymarket Trading Bot Skill 技能。
# Polymarket Trading Bot AI-powered trading bot for Polymarket 5-minute BTC/ETH price prediction markets. ## Features - **Accurate PTB Extraction**: Multi-layer fallback (API → HTML → Playwright → Binance) - **Advanced AI Model**: Position + momentum + RSI + volume analysis - **EV-Based Decisions**: Only bet when expected value > 0.05 - **Real-time Monitoring**: Auto-detect new markets and pre-fetch PTB - **Risk Management**: Confidence threshold + odds filtering ## Quick Start ```bash # Install dependencies pip3 install playwright requests # Install Playwright browser playwright install chromium # Run the bot python3 auto_bot_v2.py ``` ## How It Works 1. **Market Detection**: Polls Polymarket API every 2 seconds 2. **PTB Pre-fetch**: Gets Price to Beat when market appears (~10s) 3. **AI Analysis**: Triggers 40 seconds before market close 4. **Decision**: Outputs bet recommendation (betting disabled by default) ## AI Model ### Scoring System (0-100) | Signal | Weight | Description | |--------|--------|-------------| | Position | 50% | Current price vs PTB (ATR-normalized) | | Momentum | 30% | 3-min trend + 1-min micro momentum | | RSI | 10% | Overbought/oversold correction | | Volume | 10% | Volume confirmation | ### Betting Criteria - Confidence ≥ 55% - Expected Value > 0.05 - Target odds < 0.90 ## Configuration Edit `auto_bot_v2.py` to enable real betting: ```python # Line ~155 execute_bet(slug, direction, 10) # Uncomment to enable ``` ## Files - `auto_bot_v2.py` - Main bot script - `ai_analyze_v2.py` - Decision engine - `ai_trader/ai_model_v2.py` - Scoring model - `ai_trader/playwright_ptb.py` - PTB extraction - `logs/decisions_v2.jsonl` - Decision history ## Example Output ``` 🆕 新市场: BTC | btc-updown-5m-1772806500 结束: 14:20:00 UTC | 剩余: 296s 📡 提前获取 PTB... ✅ PTB=68824.89 (Playwright, 14.2s) ============================================================ 🔔 触发分析: BTC | btc-updown-5m-1772806500 | 剩余 39s 💰 PTB: $68,82...
# Polymarket Trading Bot AI-powered automated trading bot for Polymarket 5-minute BTC/ETH price prediction markets. ## Installation ```bash pip3 install playwright requests playwright install chromium ``` ## Usage ```bash python3 auto_bot_v2.py ``` ## Features - Multi-layer PTB extraction (Playwright + fallbacks) - Advanced AI scoring model (position + momentum + RSI + volume) - EV-based betting decisions - Real-time market monitoring - Decision logging ## Configuration To enable real betting, edit `auto_bot_v2.py` line 155: ```python execute_bet(slug, direction, 10) # Uncomment this line ``` ## Safety Default mode is dry-run (no real bets). All decisions are logged to `logs/decisions_v2.jsonl`.
openbotx
An open-source platform for orchestrating AI agents — secure, simple, and built for everyone. Multi-agent, real-time task board, web control panel, skills system, browser automation, multi-provider, scheduler, and more. One command to start. Everything from the browser. No coding required.
sealiu1997
OpenClaw skill for 知识星球 / ZSXQ digests with token-first auth and browser recovery.
openstockdata
OpenClaw Skill for stock data analysis
abczsl520
🌐 OpenClaw skill for Browser-Use — AI-powered browser automation for complex multi-step workflows (login, form filling, scraping, posting)
chizhongwang
Teach AI agents to discover hidden APIs, data functions & browser automation recipes for any website. Works with Claude Code, ClawHub, Cursor & any AgentSkills-compatible agent.
ashemag
OpenClaw skill to crosspost X/Twitter posts to Reddit via browser automation