搜索

PythonReactSEOPDF
OpenClaw

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.

hanguang2540 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install hanguang254/polymarket-5m-bot

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

Polymarket 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

  1. Install Polymarket CLI and configure wallet (gnosis-safe mode)
  2. Install dependencies: pip install requests playwright
  3. Configure Telegram bot token and chat ID in monitor_bets.py
  4. 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 loop
  • scripts/ai_analyze_v2.py - AI decision engine with bet execution
  • scripts/monitor_bets.py - Telegram notification script
  • scripts/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-safe for all CLI commands

来源信息

Source
github
Repository
openclaw/skills
Path
skills/hanguang254/polymarket-5m-bot
Version
—
Commit
c40b749ceb8000c08bea43605dca0b23ce2b329e
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

来源内容

SKILL.md
# Polymarket 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

1. Install Polymarket CLI and configure wallet (gnosis-safe mode)
2. Install dependencies: `pip install requests playwright`
3. Configure Telegram bot token and chat ID in `monitor_bets.py`
4. 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 loop
- `scripts/ai_analyze_v2.py` - AI decision engine with bet execution
- `scripts/monitor_bets.py` - Telegram notification script
- `scripts/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-safe` for all CLI commands

相关技能

OpenClaw

laborany

laborany

基于 Claude Code 的桌面 AI 工作力平台 — 支持飞书/QQ 远程调度、技能创建、定时任务。OpenClaw 的桌面实现,零代码养好你的 AI 🦞 Desktop AI workforce platform built on Claude Code. Feishu/QQ bot integration, skill c...

OpenClaw

openclaw-admin

duanecilliers

Web-based admin dashboard for OpenClaw — manage Discord persona bots, workspace files, skills, cron jobs, channels, and config