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,...
Polymarket Trading Bot
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
SkillHub CLI
skillhub install hanguang254/polymarket-trading-bot-skillInspect the source and compatibility requirements, then follow its installation steps.
Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.
AI-powered trading bot for Polymarket 5-minute BTC/ETH price prediction markets.
# Install dependencies
pip3 install playwright requests
# Install Playwright browser
playwright install chromium
# Run the bot
python3 auto_bot_v2.py
| 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 |
Edit auto_bot_v2.py to enable real betting:
# Line ~155
execute_bet(slug, direction, 10) # Uncomment to enable
auto_bot_v2.py - Main bot scriptai_analyze_v2.py - Decision engineai_trader/ai_model_v2.py - Scoring modelai_trader/playwright_ptb.py - PTB extractionlogs/decisions_v2.jsonl - Decision history🆕 新市场: 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...
These signals come from indexed source analysis and may lag behind changes. Check the current source files.
AI-powered automated trading bot for Polymarket 5-minute BTC/ETH price prediction markets.
pip3 install playwright requests
playwright install chromium
python3 auto_bot_v2.py
To enable real betting, edit auto_bot_v2.py line 155:
execute_bet(slug, direction, 10) # Uncomment this line
Default mode is dry-run (no real bets). All decisions are logged to logs/decisions_v2.jsonl.
# 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`.
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,...
OpenClaw skill for 知识星球 / ZSXQ digests with token-first auth and browser recovery.
OpenClaw Skill for stock data analysis
🌐 OpenClaw skill for Browser-Use — AI-powered browser automation for complex multi-step workflows (login, form filling, scraping, posting)