Polymarket on Autopilot: Let Your AI Agent Paper Trade Prediction Markets
On this page
I’ve been running a paper trading agent against Polymarket for a few weeks now, and the overnight summaries are genuinely unsettling in the best way. Not because the agent is brilliant — it isn’t. It’s running three simple strategies against public market data. What’s unsettling is how much signal it surfaces that I would have completely missed sleeping or working or just living my life.
Prediction markets move fast. A political event breaks at 11 PM, prices shift hard, and by the time you open your laptop the opportunity is gone. Manual trading means you’re always reacting — and usually late. You’re also making emotional calls, keeping bad records, and struggling to tell which of your instincts actually work versus which ones just got lucky.
The agent doesn’t have any of those problems. It runs on a schedule, follows rules, logs every decision, and sends you a clean summary every morning. The part I want to show you — and I’ll get to it after the framework — is the specific number that made me stop and rethink how I was approaching strategy testing entirely.
If you’re exploring AI automation as a way to handle repetitive monitoring tasks, prediction market trading is one of the cleaner use cases: structured data, clear rules, measurable outcomes. Everything an agent is good at.
Why Manual Prediction Market Trading Breaks Down
Polymarket processed over $44 billion in trading volume in 2025. That’s not a niche experiment anymore — it’s a liquid market with real competition. And between April 2024 and April 2025, arbitrage traders collectively pulled over $40 million in profits just from YES+NO pricing discrepancies.
That money didn’t go to people refreshing the browser. It went to bots.
The fundamental arbitrage condition is simple: in any prediction market, YES + NO should equal $1.00. When they don’t — when the combined price is $1.07, say — you can buy both sides and lock in a risk-free return regardless of the outcome. Those gaps open and close in seconds. Human reaction time can’t compete.
But arbitrage is just one play. Trend-following, contrarian positioning, news-driven mispricing — there are multiple strategies worth testing. The problem is that testing them with real money before you understand how they perform is expensive and emotionally distorting. You make one bad call at 2 AM and you start second-guessing everything.
Paper trading solves the emotional problem. An agent solves the monitoring problem. Together they let you run months of strategy testing without losing a dollar — and without losing sleep.
What a Polymarket Paper Trading Agent Actually Does
This isn’t a chatbot you ask questions. It’s software running on a schedule — checking market data every 15 minutes, evaluating each market against your strategy rules, logging simulated trades to a database, and reporting back. You wake up to a summary of what it ‘traded’ overnight, what worked, and what didn’t.
The core loop looks like this: fetch prices and volume from the Polymarket API, run each market through your strategy filters, execute paper trades against a simulated portfolio (starting capital: $10,000 in the reference setup), update positions in the database, and repeat. Every morning at 8 AM, a Discord message lands in your channel with the overnight report.
The agent also spawns sub-agents during high-volume periods to analyze multiple markets in parallel — because when news breaks and a dozen markets move at once, sequential analysis is too slow.
The Three Strategies Worth Testing First
The reference implementation uses three distinct strategies, each targeting a different market condition. Run them in parallel and let the performance data tell you which one fits your edge.
- TAIL (trend-following): Triggers when a market shows greater than 60% implied probability AND a volume spike. The idea is that strong consensus with high participation is more likely to hold than reverse. This filters out weak signals — no volume, no trade.
- BONDING (contrarian): Looks for markets where the price dropped more than 10% suddenly, usually on breaking news. The bet is that markets overreact to new information and the price will partially recover. High risk, high reward.
- SPREAD (arbitrage): Fires when YES + NO exceeds $1.05 — a 5% buffer above the theoretical $1.00 equilibrium. That buffer is intentional: it accounts for slippage and transaction costs so you’re only flagging genuine mispricings, not noise.
Each strategy has different timing characteristics. SPREAD opportunities close fast — seconds or minutes. TAIL and BONDING plays often develop over hours. Your paper trading logs will show you which window your agent is actually catching versus missing.
The Polymarket ecosystem has grown to over 170 third-party tools across 19 categories, including AI agents, arbitrage bots, and institutional analytics. You’re not building in a vacuum — there’s real competition here, which is exactly why paper trading before committing real capital matters.
The Number That Made Me Rethink Strategy Testing
Here’s the thing I promised to come back to.
An AI trading bot called ‘ilovecircle’ made $2.2 million in two months on Polymarket, across politics, sports, and crypto markets — with a 74% win rate. Not paper trading. Real money.
That number sounds impressive until you realize what it actually tells you: this is a competitive, instrumented market where systematic strategies with good data can generate consistent edge. It’s not luck-based. It’s rule-based.
The thing most people get wrong about paper trading is treating it as ‘practice with no stakes.’ It’s actually the opposite — it’s the only way to generate reproducible performance data on a strategy before anything real is at stake. The logs you build during paper trading are your evidence base. Win rate, average P&L per strategy, which market categories your TAIL signals perform in vs. which they don’t — that’s the map you need before you go live.
Without that data, you’re not making informed decisions. You’re guessing and calling it a strategy. The agent isn’t just automating monitoring — it’s generating the empirical foundation that serious trading requires.
This is exactly the kind of always-on data gathering that makes agentic AI genuinely useful — not just for trading, but for any domain where decisions improve with accumulated pattern data.
Setting Up the Agent: Database, Cron, and Discord
The setup has four parts: database schema, Discord channel, agent prompt, and a cron schedule. None of them are complicated individually — the value is in how they connect.
Step 1: Build the database. You need two tables — one for individual trades, one for portfolio state. The trade table captures everything you need for analysis: market ID, strategy used, direction, entry/exit prices, quantity, and P&L. The portfolio table holds your current cash position and open positions as JSON.
CREATE TABLE paper_trades (
id SERIAL PRIMARY KEY,
market_id TEXT,
market_name TEXT,
strategy TEXT,
direction TEXT,
entry_price DECIMAL,
exit_price DECIMAL,
quantity DECIMAL,
pnl DECIMAL,
timestamp TIMESTAMPTZ DEFAULT NOW()
);
CREATE TABLE portfolio (
id SERIAL PRIMARY KEY,
total_value DECIMAL,
cash DECIMAL,
positions JSONB,
updated_at TIMESTAMPTZ DEFAULT NOW()
);
Step 2: Create a Discord channel. Name it something like #polymarket-autopilot. This is where daily summaries land — overnight trades, portfolio value, win rate by strategy, and market insights.
Step 3: Configure your OpenClaw agent. The prompt below is the one from the reference implementation — it gives the agent its operating instructions, strategy parameters, reporting schedule, and a hard constraint against real money.
You are a Polymarket paper trading autopilot. Run continuously (via cron every 15 minutes):
1. Fetch current market data from Polymarket API
2. Analyze opportunities using these strategies:
- TAIL: Follow strong trends (>60% probability + volume spike)

*What if your AI could read the crowd before you even ask? Beacon's lighting the way through prediction markets — no real stakes, just real insight.*
- BONDING: Contrarian plays on overreactions (sudden drops >10% on news)
- SPREAD: Arbitrage when YES+NO > 1.05
3. Execute paper trades in the database (starting capital: $10,000)
4. Track portfolio state and update positions
Every morning at 8 AM, post a summary to Discord #polymarket-autopilot:
- Yesterday's trades (entry/exit prices, P&L)
- Current portfolio value and open positions
- Win rate and strategy performance
- Market insights and recommendations
Use sub-agents to analyze multiple markets in parallel during high-volume periods.
Never use real money. This is paper trading only.
Step 4: Set the cron schedule. Every 15 minutes keeps you well within the API rate limits while catching most significant market moves. Once the agent is running, let it accumulate at least two weeks of data before drawing any conclusions — single-day performance is noise.
Where This Approach Falls Apart
Paper trading performance doesn’t automatically translate to live performance. A few specific failure modes to expect:
- Slippage is invisible in paper trading. Your agent logs trades at the price it sees in the API. In live markets, especially for SPREAD plays where you’re racing other bots, you’ll often fill at a worse price — or not fill at all. Factor in at least 1-2% slippage when evaluating paper P&L.
- SPREAD opportunities close before you can act. The bots already monitoring for YES+NO > $1.00 are running on infrastructure with sub-100ms latency. A 15-minute cron job will catch historical data on these trades, not live opportunities. SPREAD paper trading is useful for understanding how often they appear — not for capturing them in live trading.
- The agent can’t read news context. The BONDING strategy triggers on a price drop >10%, but it can’t distinguish between a market overreacting to a rumor versus correctly pricing in a confirmed development. You’ll get false positives. The paper logs will show you the pattern — look for BONDING losses that cluster around specific event types.
- API rate limits become real constraints at scale. 100 requests per minute sounds like a lot until you’re monitoring 200 markets simultaneously. Build your data fetching to batch markets efficiently, not one request per market.
- Discord summaries can create false confidence. A clean 8 AM report that shows positive P&L is encouraging — but check the number of trades behind it. Five trades is a sample size of five. You need hundreds of data points before strategy performance is meaningful.
- Polymarket uses USDC on Polygon for settlement. Paper trading doesn’t require this, but going live means wallet setup, gas fees, and CLOB (central limit order book) API authentication. Budget time for that infrastructure before you flip the switch.
How to Know Your Agent Is Working
These are the signs the setup is functioning correctly — before you trust any of the performance numbers:
- Discord messages arrive at 8 AM every morning without gaps — no missing days means the cron job and API connection are stable
- The
paper_tradestable is growing at a rate that makes sense — roughly a handful of trades per day in normal market conditions, more during high-volume news events - Portfolio value updates are reflected in the
portfoliotable after each cron run — stale timestamps mean the agent isn’t completing its write cycle - Strategy labels in the trade logs match what you’d expect — SPREAD trades appearing mostly on stable binary markets, BONDING on news-sensitive markets
- Win rate per strategy diverges over time — if TAIL and BONDING show identical win rates after 100+ trades, something in the strategy logic probably isn’t differentiating them correctly
- Sub-agent activity shows up in logs during high-volume periods — if you never see parallel processing, check the spawning configuration
Your Monday Morning Setup Checklist
If you want this running by end of week, here’s the sequence:
- Create a free Polymarket account and review the public API docs at docs.polymarket.com — no credentials needed for read-only data access, so you can start fetching prices immediately
- Spin up a PostgreSQL database (a free tier on Railway or Supabase works fine for this) and run the two CREATE TABLE statements from the setup section above
- Create a #polymarket-autopilot channel in your Discord server and generate a webhook URL — this is under Server Settings > Integrations and takes about 90 seconds
- If you’re on BrainRoad, use the agent wizard to configure OpenClaw with the prompt above — paste in your database connection string and Discord webhook URL as environment variables; if you’re self-hosting, the same prompt works in any OpenClaw deployment
- Set your initial portfolio to $10,000 in the portfolio table — insert a starting row with cash = 10000 and positions = '' so the agent has a baseline to work from
- Schedule your first cron run for every 15 minutes and let it run for 48 hours before checking results — your instinct to tweak immediately after the first report is a trap; wait for at least 20-30 trades before adjusting any thresholds
- After two weeks, query win rate by strategy:
SELECT strategy, COUNT(*) as trades, SUM(CASE WHEN pnl > 0 THEN 1 ELSE 0 END)::DECIMAL / COUNT(*) as win_rate FROM paper_trades GROUP BY strategy— this one query tells you which strategies are working in current market conditions - If TAIL is outperforming BONDING by more than 15 percentage points, raise the BONDING trigger threshold from 10% to 15% drops and run another two-week cycle to see if selectivity improves
The best AI agents for this kind of task share one characteristic: they generate structured logs, not just actions. The logs are the product. The trades are just the mechanism that creates data worth analyzing.
What This Changes About How You Test Trading Ideas
- Polymarket processed over $44 billion in trading volume in 2025 — this is a liquid, competitive market where systematic strategies with good data have genuine edge, as the ‘ilovecircle’ bot’s $2.2M in two months demonstrates
- Paper trading agents aren’t just risk-free practice — they’re data collection engines; the logs you build are the empirical foundation that serious strategy iteration requires
- The three starter strategies — TAIL (>60% probability + volume spike), BONDING (>10% sudden drop), and SPREAD (YES+NO > $1.05) — target different market conditions and should be evaluated separately over at least 100 trades each
- Slippage and API latency mean paper performance will always look better than live performance, especially for SPREAD arbitrage plays where sub-second execution is the real constraint
- Start with a 15-minute cron schedule, $10,000 simulated capital, and two weeks of data before touching any strategy parameters — patience in the testing phase is the actual skill
Frequently Asked Questions
Do I need a Polymarket account to paper trade?
For read-only API access — fetching prices, volume, and market data — no account is required. You only need to authenticate if you want to execute real trades. The paper trading agent uses only public endpoints, so you can start without signing up.
How much does it cost to run this agent?
The infrastructure costs are minimal. A free-tier PostgreSQL database (Supabase or Railway), a Discord server (free), and an API key for your AI model. If you’re running this on BrainRoad, the agent hosting is included in your plan. The Polymarket public API is free. Most setups run for under $20/month in total infrastructure.
Can this agent place real trades on my behalf?
Not as configured here. The reference prompt explicitly instructs the agent to paper trade only — all trades are logged to a database, not submitted to Polymarket. To go live, you’d need to replace the database write step with actual CLOB API calls, configure a Polygon wallet, and fund it with USDC. That’s a deliberate additional step, not an accident.
How long before I have enough data to evaluate strategies?
Two weeks is a minimum; four weeks is better. At a 15-minute polling interval, you’ll accumulate a meaningful trade log in most market conditions within that window. Single-day or single-week performance is noise — wait for 100+ trades per strategy before drawing any conclusions about what’s working.
What's the difference between this and just using a Polymarket bot from the ecosystem?
The Polymarket ecosystem has over 170 third-party tools — many of them are pre-built bots with fixed strategies. Running your own agent means you control the strategy logic, you own the performance data, and you can iterate on thresholds based on your own backtesting results. Pre-built tools are useful for getting started, but they don’t generate the strategy-specific logs you need for meaningful optimization.
Sources
- Polymarket Autopilot — awesome-openclaw-usecases
- The Definitive Guide to the Polymarket Ecosystem — DeFi Prime
- Automated Trading on Polymarket: Bots, Arbitrage & Execution Strategies — QuantVPS
- Best Prediction Market Bots & Tools for Automated Trading — NYC Servers
- Polymarket AI Bot Guide 2025: $2.2M ilovecircle Case Study — PolyTrack
- Introducing Polystrat, an AI Agent That Trades — Olas Network
- Polymarket API Documentation