Polymarket BTC 5m Trading Bot for Openclaw

A high-frequency AI trading bot designed to automate BTC prediction market trades on Polymarket using dual-signal logic and real-time decision-making.

billychoiu
v1.0.0
Apr 6, 2026
0
782
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install polymarket-btc-trader

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install polymarket-btc-trader using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Polymarket BTC 5m Trading Bot?

This skill provides a fully automated solution for trading the Bitcoin 5-minute Up/Down markets on Polymarket. By leveraging Openclaw Skills, developers can deploy a sophisticated trading agent that combines Large Language Model (LLM) analysis with technical price gap arbitrage. The bot is designed for precision, requiring agreement from both its AI decision engine and its quantitative strategy before executing any on-chain transactions.

It features a comprehensive Web Control Panel that allows users to monitor win rates, current holdings, and the specific reasoning steps taken by the AI for every trade. With support for multiple AI providers like MiniMax, OpenAI, and SiliconFlow, it offers flexibility for different regional and performance requirements.

Polymarket BTC 5m Trading Bot Use Cases

  • Automating high-frequency BTC 5-minute prediction market trades on Polymarket.
  • Integrating AI-driven market sentiment and trend analysis into on-chain execution.
  • Reducing emotional trading by using a dual-signal confluence strategy.
  • Monitoring automated trading performance and AI reasoning via a centralized web dashboard.
  • Managing risk through automated stop-loss, take-profit, and slippage protection.

How Polymarket BTC 5m Trading Bot Works

  1. The bot continuously monitors the BTC price, 15-minute K-line patterns, and 3-minute volume changes.
  2. Signal 1 (AI Decision) sends market data to a configured LLM to determine a BUY_UP, BUY_DOWN, or HOLD sentiment.
  3. Signal 2 (Price Gap) calculates the divergence between actual BTC price changes and the current Polymarket contract prices.
  4. The system validates execution conditions, ensuring both signals agree, spread is under 6%, and there is more than 3 minutes remaining in the market window.
  5. Upon validation, the bot executes the trade on-chain and updates the web dashboard with real-time profit/loss data.

Polymarket BTC 5m Trading Bot Setup

To get started with this skill in the Openclaw Skills library, follow these steps:

# 1. Enter the bot directory and install dependencies
cd polymarket-btc-bot
bash scripts/install.sh

# 2. Configure your environment (Add your API keys and Wallet Private Key)
cp references/.env.example .env
nano .env

# 3. Launch the Trading Bot
bash scripts/bot_start.sh

# 4. Launch the Web Control Panel
bash scripts/panel_start.sh
# Access the dashboard at http://localhost:18095

Polymarket BTC 5m Trading Bot Data Schema & Taxonomy

The skill organizes its configuration and operational data as follows:

Data Component Format Description
.env Environment File Contains API keys for AI providers, wallet private keys, and strategy parameters.
bot.log Log File Records every trade action, AI prompt response, and system event.
status_server.py Python Service Managed the WebSocket/HTTP data for the web monitoring dashboard.
references/STRATEGY.md Markdown Documentation of the underlying quantitative and arbitrage formulas.

Polymarket BTC 5m Trading Bot Advanced Features

  • Multi-Agent Compatibility: Supports MiniMax (recommended for low latency), OpenAI (GPT-4o-mini), and SiliconFlow (DeepSeek-V3).
  • Kelly Criterion Integration: Features a customizable KELLY_FRACTION parameter for advanced position sizing and bankroll management.
  • High-Frequency Strategy (HF): Includes a 3-minute momentum strategy specifically tuned for prediction market volatility.
  • Automated Market Discovery: The bot automatically identifies and transitions to the next BTC 5m market window upon expiry.
  • Real-time AI Reasoning: View the specific logic the AI used to justify a trade directly in the Web UI.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*