The Polymarket Arbitrage Bot That Actually Works
PolyArb scans Polymarket 24/7, detects mispriced prediction markets, and executes profitable arbitrage trades automatically - before anyone else sees the gap.
How the Polymarket Arbitrage Bot Works
Four steps from setup to earning - no trading experience required.
Connect Your Wallet
Paste your Polygon private key into the config file. Your funds stay in your wallet - nothing custodial.
Bot Scans Markets
PolyArb continuously monitors all active Polymarket prediction markets via the CLOB API, calculating YES + NO price sums in real time.
Gap Detected
When YES + NO prices deviate from $1.00 beyond your configured threshold, an arbitrage opportunity is flagged instantly.
Auto-Execute & Profit
The bot places both legs of the trade simultaneously, locking in the spread. Profits are settled when the market resolves.
Everything You Need to Arb Polymarket
Built for speed, safety, and simplicity. No bloat, just profit.
Sub-Second Execution
Arbitrage windows close fast. PolyArb submits both trade legs in under a second via the Polymarket CLOB API.
Full Market Scanner
Monitors every open Polymarket market simultaneously - politics, crypto, sports, science, and more.
Risk Controls
Set max bet size, daily loss limits, and minimum spread thresholds to keep risk entirely within your comfort zone.
Non-Custodial
Your private key stays local. Trades are signed on your machine and submitted directly to the Polygon network.
Live P&L Dashboard
Track open positions, locked-in spreads, resolved profits, and daily ROI in a clean terminal or web UI.
Dry Run Mode
Test the bot with zero real capital. Simulates real trade execution so you know exactly what to expect.
Up and Running in 3 Minutes
Clone, configure, and launch. That's it.
# 1. Clone the repo git clone https://github.com/tswaim/polymarket-arbitrage-bot.git cd polyarb # 2. Install dependencies pip install -r requirements.txt # 3. Add your wallet key to config.yaml private_key: "YOUR_POLYGON_PRIVATE_KEY" min_spread: 0.02 # Only trade gaps ≥ 2% max_bet_usdc: 100 # Max $100 per arb trade # 4. Run in dry-run mode first (no real money) python main.py --dry-run # 5. Go live python main.py
Frequently Asked Questions
Everything you need to know before running the bot.
What is Polymarket arbitrage?
On Polymarket, every binary market has a YES share and a NO share. Together they should always sum to exactly $1.00. When liquidity is thin or slow, the sum drifts above or below $1. Buying both sides and holding to resolution locks in a risk-free profit equal to the difference.
How much money do I need to start?
There is no minimum enforced by the bot. In practice, spreads of 2–4% on a $50 position yield $1–$2 per resolved market. Most users start with $200–$500 USDC to see meaningful returns while limiting downside during testing.
Is this risk-free?
Pure arbitrage (YES + NO > $1) is theoretically risk-free if both legs fill at your expected prices. In practice, slippage, gas fees, and partial fills can erode the spread. Always set a minimum spread threshold that comfortably covers these costs.
Does the bot work on all Polymarket markets?
Yes. PolyArb scans all open binary markets on Polymarket - politics, crypto, sports, science, and culture. You can filter by category or set a minimum daily volume to focus on liquid markets only.
Is PolyArb safe to use?
Your private key is stored locally in your config file and is never transmitted anywhere. All trades are signed on your machine. We strongly recommend using a dedicated wallet funded only with the capital you intend to trade, separate from your main holdings.
Start Earning on Polymarket Today
Free, open-source, and takes under 5 minutes to deploy. No coding experience needed.