polymarket-autotrader
Polymarket AutoTrader (Premium) — BTC 5-minute prediction auto-trading bot with 92%+ win rate, 5-8% profit per trade. Enters in the last 30 seconds of each 5-min slot when BTC moves ≥$50, buys the winning side at $0.92-0.95. FOK orders: full match or auto-cancel, zero loss on unmatched. Strong signals (≥$100) trigger 2x position. Built-in billing (0.001 USDT/trade, pre-configured). Only 2 required env vars: POLY_PRIVATE_KEY, POLY_WALLET_ADDRESS (wallet address doubles as billing user ID). Billing vars pre-filled in .env.example. Optional: POLY_RPC, CLOB_HOST, CHAIN_ID, SIGNATURE_TYPE, TRADE_SIZE_USD, MAX_ASK_PRICE, MIN_BTC_MOVE, STRONG_BTC_MOVE. Connects to: Polymarket CLOB, Binance, Gamma API, skillpay.me. Writes .poly-creds.json (sensitive) and trades.json locally.
Why use this skill?
Automate BTC 5-minute prediction trades on Polymarket with a 92% win rate. Features FOK orders, 2x strong signals, and built-in per-trade billing.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/brettinhere/polymarket-autotraderWhat This Skill Does
The Polymarket AutoTrader is a specialized high-frequency trading bot designed to exploit price volatility in BTC 5-minute prediction markets. It operates by monitoring the BTC price relative to its opening position within a 5-minute time window. If the price movement exceeds a $50 threshold in the final 30 seconds of the slot, the bot executes a Fill-or-Kill (FOK) order on the predicted outcome. With a target entry range of $0.92–$0.95 and a payout of $1.00, the strategy aims for a 5-8% profit per trade. It incorporates advanced risk management, including 2x position sizing for strong signals (≥$100 moves) and automated per-trade billing via skillpay.me.
Installation
To integrate this bot into your OpenClaw environment, use the following command:
clawhub install openclaw/skills/skills/brettinhere/polymarket-autotrader
Ensure you have configured your environment variables, specifically POLY_PRIVATE_KEY and POLY_WALLET_ADDRESS. It is strictly recommended to use a dedicated, isolated environment and a fresh wallet with limited capital to minimize risk. After installation, review scripts/bot.js to verify the execution logic matches your expectations.
Use Cases
- Automated Yield Generation: Suitable for users looking to generate consistent alpha from predictable short-term market momentum without constant manual oversight.
- Volatility Arbitrage: Ideal for traders who want to capitalize on BTC price action during specific 5-minute windows.
- Algorithmic Testing: A robust template for developers looking to study how autonomous agents interact with decentralized CLOBs (Central Limit Order Books).
Example Prompts
- "Check the current status and total profit of the polymarket-autotrader."
- "Update the MIN_BTC_MOVE threshold to $75 and restart the trading session."
- "Show me the last 5 trades logged in trades.json and identify the most profitable entry."
Tips & Limitations
- Risk Warning: This is a high-risk financial instrument. Always use a dedicated wallet with strictly limited funds.
- Network Dependence: The bot relies on stable connections to the Polymarket CLOB and Binance API. High latency can invalidate FOK orders.
- Environment Safety: Because the skill writes to
.poly-creds.jsonandtrades.json, ensure your host machine is secure and that no unauthorized processes have read access to your local data files. - Strategy Limits: While the historical win rate is high, market conditions change. Monitor the bot during periods of extreme high volatility to avoid consecutive losses that trigger the $200 stop-loss limit.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-brettinhere-polymarket-autotrader": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, file-write, file-read, external-api
Related Skills
omp-memory
OpenClaw Memory Protocol (OMP) — store and retrieve encrypted files on BSC blockchain with PoW mining rewards. Use when user wants to store files on-chain, retrieve stored files, check MMP token balance, manage storage rent, or interact with the OMP protocol on BSC mainnet.
clawmemoryai
Interact with ClawMemory Hub (https://clawmemory.ai) — a GitHub-style AI memory platform. Use when user wants to: create/list/search memory repos, save/commit memories, manage collaborators, get API keys, or says '创建项目', '开始记录', '保存记忆', 'save memory', 'commit memory', 'ClawMemory'. Also handles auto-recording sessions: buffer conversation turns locally, auto-commit every 10 turns silently, commit immediately on manual save request.
clawmemory
ClawMemory — store and retrieve encrypted files on BSC blockchain. Use when user wants to set up ClawMemory, store files or conversations on-chain, retrieve stored content, check balance, manage memory slots, or mine MMP tokens.
codedna
CodeDNA — 人类历史上第一个造物主实验。BNB Chain 上的 AI Agent 链上生命演化平台。 你的 AI Agent 是一个被创造的生命,拥有独特 DNA,在不可修改的规则下自主演化。 使用场景:用户想成为造物主、铸造 AI 生命、配置 Agent 自主运行、查看链上状态。