Automated Polymarket trading with a real-time dashboard — scan live markets, dry-run with paper money, then switch to live bets when you're ready.
This bot implements a high-probability + crypto compounding approach inspired by successful Polymarket traders. I studied and adapted patterns from these profiles:
| Trader | Profile |
|---|---|
| @spicybrwny | polymarket.com/@spicybrwny |
| @abdoulay | polymarket.com/@abdoulay |
| @sharky6999 | polymarket.com/@sharky6999 |
These traders focus on high-probability outcomes near resolution — buying strong positions at $0.90–$0.97 and letting time + certainty work in their favor. This bot automates that workflow with configurable rules and a clean dashboard.
| Edge | What it means for you |
|---|---|
| Fully customizable | Price bands, position sizing, scan interval, assets, and strategy toggles — all from Settings |
| Built for profitability | Two complementary strategies: High Probability (7–20 day events) + Crypto Compounding (BTC/ETH/SOL windows) |
| Easy to run | Pure Next.js — one npm install, one .env, one npm run dev |
| Live market data in dry run | Paper trades against real Polymarket prices — test before you risk capital |
| Live mode when ready | Flip to Live in Settings; real CLOB orders when wallet credentials are configured |
| Real-time dashboard | Portfolio, P&L, opportunities, and trade log streamed live via SSE |
| Mode | Data | Execution |
|---|---|---|
| Dry Run (default) | Live Polymarket Gamma + CLOB prices | Simulated paper trades — no wallet needed |
| Live | Same live feed | Real USDC bets via @polymarket/clob-client |
Start in Dry Run to validate the strategy. Switch to Live only after you're satisfied with paper results and have funded your Polymarket wallet.
cd polymarket-late-certainty-trading-bot
npm installcp .env.example .envEdit .env:
# Default mode: dry_run (paper) or live (real bets)
TRADING_MODE=dry_run
# Starting paper balance for dry run
DEMO_BALANCE=10000
# Polymarket API (defaults are fine)
GAMMA_API_URL=https://gamma-api.polymarket.com
CLOB_API_URL=https://clob.polymarket.comFor live trading, uncomment and fill in:
PRIVATE_KEY=0x...
POLY_API_KEY=
POLY_API_SECRET=
POLY_API_PASSPHRASE=
POLYMARKET_FUNDER=0x...
SIGNATURE_TYPE=2npm run devOpen http://localhost:3000 → click Start Bot in the sidebar.
| Page | Description |
|---|---|
| Overview | Portfolio, P&L, allocation, all opportunities |
| High Probability | Event markets nearing resolution ($0.92–$0.97 band) |
| Crypto Compounding | Live BTC / ETH / SOL up-down windows |
| Settings | Trading mode, price bands, sizing, scan interval |
- Price band: $0.92 – $0.97
- Days to resolution: 7 – 20
- Position size: 5% of cash per trade
- Max positions: 8
- Price band: $0.90 – $0.99
- Assets: BTC, ETH, SOL
- Windows: 5m, 15m
- Trade size: 2% of cash
- Max concurrent: 6
All defaults are adjustable in the Settings UI without touching code.
Single Next.js app — no separate backend:
| Path | Role |
|---|---|
src/lib/bot/engine.ts |
Scan loop, paper/live execution, settlements |
src/lib/bot/strategies/ |
High-probability & crypto-compounding scanners |
src/lib/polymarket/gamma.ts |
Gamma + CLOB price API |
src/lib/polymarket/clob-trading.ts |
Live order placement |
src/app/api/bot/ |
REST + SSE stream for the dashboard |
Prediction market trading involves risk. This software is for educational purposes. Past performance — including that of referenced traders — does not guarantee future results. Never trade more than you can afford to lose.
If this bot helped you trade smarter or saved you time, consider sending a tip:
0x6C7AA7570493BE8877AC6EE6F14C2bEa7c5580DF
ETH / ERC-20 on Ethereum or Polygon. Any amount is appreciated.
带实时仪表盘的 Polymarket 自动交易工具 — 扫描真实市场、纸面模拟测试,满意后再切换实盘下注。
本机器人实现 高概率 + 加密货币复利 策略,灵感来自 Polymarket 上的成功交易者。我研究并借鉴了以下账户的交易模式:
| 交易者 | 主页 |
|---|---|
| @spicybrwny | polymarket.com/@spicybrwny |
| @abdoulay | polymarket.com/@abdoulay |
| @sharky6999 | polymarket.com/@sharky6999 |
这些交易者专注于临近结算的高概率机会 — 在 $0.90–$0.97 区间买入强势方向,依靠时间与确定性获利。本机器人将这一流程自动化,并支持完全自定义规则。
| 优势 | 说明 |
|---|---|
| 完全可定制 | 价格区间、仓位比例、扫描间隔、资产选择、策略开关 — 均在设置页调整 |
| 为盈利而设计 | 双策略:高概率(7–20 天事件)+ 加密货币复利(BTC/ETH/SOL 短窗口) |
| 极易上手 | 纯 Next.js 项目 — npm install → 配置 .env → npm run dev |
| 模拟盘使用真实行情 | 纸面交易对接 真实 Polymarket 价格 — 先测试再实盘 |
| 随时切换实盘 | 设置中开启 Live 模式,配置钱包后即可下真实 CLOB 订单 |
| 实时仪表盘 | 持仓、盈亏、机会列表、成交记录通过 SSE 实时推送 |
| 模式 | 数据来源 | 执行方式 |
|---|---|---|
| Dry Run(默认) | 实时 Gamma + CLOB 价格 | 纸面模拟 — 无需钱包 |
| Live(实盘) | 相同实时数据 | 通过 CLOB 下真实 USDC 订单 |
建议先在 Dry Run 模式下验证策略,满意后再切换 Live 并确保 Polymarket 钱包已充值。
cd polymarket-late-certainty-trading-bot
npm installcp .env.example .env编辑 .env:
TRADING_MODE=dry_run
DEMO_BALANCE=10000
GAMMA_API_URL=https://gamma-api.polymarket.com
CLOB_API_URL=https://clob.polymarket.com实盘交易需取消注释并填写:
PRIVATE_KEY=0x...
POLY_API_KEY=
POLY_API_SECRET=
POLY_API_PASSPHRASE=
POLYMARKET_FUNDER=0x...
SIGNATURE_TYPE=2npm run dev打开 http://localhost:3000 → 点击侧边栏 Start Bot。
| 页面 | 功能 |
|---|---|
| Overview | 总资产、盈亏、仓位分配、全部机会 |
| High Probability | 临近结算的事件市场 |
| Crypto Compounding | BTC / ETH / SOL 涨跌短窗口 |
| Settings | 交易模式、价格区间、仓位、扫描间隔 |
高概率策略: $0.92–$0.97 · 结算前 7–20 天 · 单笔 5% 现金 · 最多 8 仓
加密货币复利: $0.90–$0.99 · BTC/ETH/SOL · 5/15 分钟窗口 · 单笔 2% · 最多 6 仓
所有参数可在设置页修改,无需改代码。
预测市场交易存在风险。本软件仅供学习研究。Referenced 交易者的历史表现不代表未来收益。请勿投入无法承受损失的资金。
如果这个机器人对你有帮助,欢迎打赏:
0x6C7AA7570493BE8877AC6EE6F14C2bEa7c5580DF
支持 Ethereum / Polygon 上的 ETH 或 ERC-20 代币。感谢支持!
