polymarket-openclaw-trading-bot
Installation
SKILL.md
Polymarket OpenClaw Trading Bot
Skill by ara.so — Hermes Skills collection.
A TypeScript/Node.js trading bot for Polymarket prediction markets using the CLOB (Central Limit Order Book) API. Specializes in short-duration BTC markets (5m/15m windows) with rule-based strategies, optional OpenClaw AI decision layer, strict risk management, and real-time market polling.
What This Bot Does
- Market Selection: Automatically constructs Polymarket market slugs from coin + period (e.g., BTC + 5m)
- Price Polling: Fetches real-time UP/DOWN outcome token prices from Gamma/CLOB API
- Strategy Execution: Runs configurable
trade_1ortrade_2strategies with entry/exit rules - OpenClaw AI Layer: Optional deterministic decision engine for signal experimentation
- Order Management: Submits market orders via CLOB v2 with retry logic and cooldowns
- Authentication: L1 wallet signing to derive API credentials, L2 authenticated trading client
- Risk Controls: Cooldowns, position limits, emergency swaps, balance validation