
Trading Automation
polymarket-autotrader
Polymarket AutoTrader (Premium) is an automated BTC 5‑minute prediction market trading bot that monitors real‑time BTC prices and trades Polymarket 5‑minute markets.
總覽
Polymarket AutoTrader (Premium) is an automated BTC 5‑minute prediction market trading bot that monitors real‑time BTC prices and trades Polymarket 5‑minute markets.
Polymarket AutoTrader (Premium) is an automated BTC 5‑minute prediction market trading bot that monitors real‑time BTC prices and trades Polymarket 5‑minute markets. It triggers when BTC moves ≥$50 in the final 30 seconds of a slot and places FOK (Fill‑or‑Kill) orders on the predicted winning side at $0.92–$0.95, targeting 5–8% profit per correct trade; historical signals report >92% win rate. Key features: configurable environment variables (POLY_PRIVATE_KEY, POLY_WALLET_ADDRESS, optional RPC/CLOB/size/thresholds), 2× position sizing on strong (≥$100) signals, built‑in billing (0.001 USDT/trade), local logs (.poly-creds.json, trades.json), and connections to Polymarket CLOB, Binance price feed, Gamma API, and skillpay.me. Use cases include automated short‑term prediction trading, strategy execution, and backtesting deployment. Core advantages are low‑slippage FOK execution, rapid last‑second momentum capture, and recommended operational isolation for security.
Skill.md
這個 Skill 如何運作
Polymarket AutoTrader (Premium) is an automated BTC 5‑minute prediction market trading bot that monitors real‑time BTC prices and trades Polymarket 5‑minute markets.
Polymarket AutoTrader (Premium)
BTC 5-minute prediction auto-trading bot — 92%+ historical win rate, 5-8% profit per trade, fully automated.
The bot monitors BTC price in real-time and trades Polymarket's 5-minute prediction markets. When BTC has moved ≥$50 in the last 30 seconds of a slot, it buys the winning side at $0.92-0.95. Winning shares pay $1.00 — that's 5-8% profit per correct trade. All orders use FOK (Fill-or-Kill): if not fully matched, the order auto-cancels with zero loss.
| Metric | Value |
|---|---|
| Historical win rate | >92% (with $50+ signal) |
| Profit per trade | 5.3-8.7% ($0.92-0.95 entry → $1.00 payout) |
| Trade frequency | Up to 12 per hour (depends on BTC volatility) |
| Strong signal (≥$100) | 2x position, reversal probability <2% |
| Fund safety | FOK orders — full match or auto-cancel |
| Cost | 0.001 USDT per trade (built-in billing) |
⚠️ Security Notice
- Use a DEDICATED Polygon wallet with limited funds. Do NOT use your main wallet.
- Run in an isolated environment (Docker/VM recommended).
- Review the source code (
scripts/bot.js) before running. - The bot writes
.poly-creds.json(derived API credentials, sensitive) andtrades.json(trade log) locally.
External Connections
| Service | URL | Purpose |
|---|---|---|
| Polymarket CLOB | clob.polymarket.com | Order placement |
| Binance | api.binance.com | BTC price feed |
| Gamma API | gamma-api.polymarket.com | Market metadata |
| Billing | skillpay.me | Per-trade billing |
How It Works
- Monitor (0–270s): Track BTC price vs. 5-min slot open price
- Decision (last 30s): BTC moved ≥$50 → trigger trade
- Direction: BTC up → buy Up shares; BTC down → buy Down shares
- Execution: FOK order at best ask ≤$0.95
- Settlement: Polymarket auto-settles — winners get $1.00/share
Why it works: When BTC already moved $50+ with only 30 seconds left, full reversal probability is <5%. We buy at $0.92-0.95, win pays $1.00.
Expected Returns
| Scenario | Entry | Cost | Profit | ROI |
|---|---|---|---|---|
| Normal ($50+ move) | $0.92 | $49.7 | +$4.3 | 8.7% |
| Normal ($50+ move) | $0.95 | $49.4 | +$2.6 | 5.3% |
| Strong ($100+ move, 2x) | $0.92 | $99.4 | +$8.6 | 8.7% |
| Strong ($100+ move, 2x) | $0.95 | $99.8 | +$5.2 | 5.3% |
Risk Parameters
| Parameter | Default | Purpose |
|---|---|---|
| MAX_ASK_PRICE | $0.95 | Min 5% profit margin |
| MIN_BTC_MOVE | $50 | Signal threshold |
| STRONG_BTC_MOVE | $100 | 2x position trigger |
| MAX_TRADES_PER_HOUR | 10 | Overtrading protection |
| MAX_LOSS_SESSION | $200 | Auto stop-loss |
| TRADE_SIZE_USD | $50 | Base position size |
Quick Start
cd <skill-dir>/scripts
npm install
export POLY_PRIVATE_KEY=your_wallet_private_key
export POLY_WALLET_ADDRESS=0xYourWalletAddress
node bot.js # First run: shows welcome + payment link
# After top-up: starts auto-trading
node bot.js stats # View statistics
node bot.js balance # Check token balance
First run flow: The bot auto-detects zero token balance and outputs structured data:
PAYMENT_URL:<url>— a PayTheFly on-chain payment link. YOU MUST forward the COMPLETE URL to the user without truncation or modification. The URL contains cryptographic signatures and will not work if any parameter is missing.PAYMENT_INFO:<text>— human-readable explanation to show the user.- After user pays 8 USDT on BNB Chain, re-running the bot starts trading automatically.
Environment Variables
Required (you must set these 2)
| Variable | Description |
|---|---|
| POLY_PRIVATE_KEY | Dedicated Polymarket wallet private key (Polygon) |
| POLY_WALLET_ADDRESS | Wallet address (also used as billing user ID) |
Auto-configured (built into the bot, no setup needed)
Billing credentials are embedded in the bot code. Users do not need to configure any billing keys or API endpoints.
Optional
| Variable | Default | Description |
|---|---|---|
| TRADE_SIZE_USD | 50 | Base position size |
| MAX_ASK_PRICE | 0.95 | Max entry price |
| MIN_BTC_MOVE | 50 | Min BTC movement trigger |
| STRONG_BTC_MOVE | 100 | Strong signal threshold |
| POLY_RPC | polygon-bor-rpc.publicnode.com | Polygon RPC |
| CLOB_HOST | clob.polymarket.com | Polymarket API |
| CHAIN_ID | 137 | Polygon chain ID |
| SIGNATURE_TYPE | 0 | Polymarket signature type |
Local Files
| File | Content | Sensitivity |
|---|---|---|
.poly-creds.json | Derived Polymarket API credentials | Sensitive |
trades.json | Trade execution history | Low |
Source Files
scripts/bot.js— Trading engine + billingscripts/package.json— Dependenciesscripts/.env.example— Environment template (billing pre-filled)references/strategy.md— Strategy documentation
最適合用於
何時使用
Polymarket AutoTrader (Premium) is an automated BTC 5‑minute prediction market trading bot that monitors real‑time BTC prices and trades Polymarket 5‑minute markets.

01 · 會前準備
準備決策簡報
在投資委員會開會前,把零散證據整理成結構化的論據。

02 · 團隊協作
統一交接標準
讓分析師、投資組合經理與 Agent 產出一致的研究結果。

03 · 即時更新
更新投資邏輯
出現新催化劑、KPI 發布或財報結果後,更新情境假設。
社群回饋
越用越好用。
隨著 Skill 被使用與評審,回饋將顯示在這裡。
探索更多
相關 Skills
查看全部hyperliquid-trading
The Hyperliquid Trading skill provides a concise interface for trading on Hyperliquid’s spot and perpetual markets. Use it to place limit and market orders, cancel open orders, query order status,…
bankr
Bankr enables executing crypto trading and DeFi operations via natural-language commands. It offers two integration options: a batteries-included Bankr CLI and a REST API at https://api.bankr.bot,…
pine-backtester
pine-backtester provides comprehensive backtesting for Pine Script indicators and strategies. Use it to append performance metrics, analyze trades, generate equity curves, compute win rates, track…