dev-ocr/polymarket-arbitrage-trading-bot — explained in plain English
Analysis updated 2026-05-18
Simulate the dump-and-hedge arbitrage strategy without risking real funds.
Trade Bitcoin, Ethereum, and other short-duration Polymarket markets live.
Track profit and loss across multiple simultaneous markets.
Study a working example of a hedged crypto arbitrage strategy.
| dev-ocr/polymarket-arbitrage-trading-bot | gajus/zod-compiler | ant-design/ant-design-cli | |
|---|---|---|---|
| Stars | 213 | 213 | 216 |
| Language | TypeScript | TypeScript | TypeScript |
| Setup difficulty | hard | easy | easy |
| Complexity | 4/5 | 2/5 | 2/5 |
| Audience | developer | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
Live trading requires a funded wallet on Polygon, simulation mode needs no funds.
This is an automated trading bot for Polymarket's short-duration cryptocurrency price markets. Polymarket is a prediction market platform where users bet on real-world outcomes, and this bot specifically targets 15-minute windows where you bet whether Bitcoin, Ethereum, or other assets will go up or down. The trading strategy is called dump-and-hedge. The bot monitors price movements during the opening minutes of each 15-minute period and watches for a sharp price drop on one side of the market. When it detects such a drop, it buys that cheaper side (Leg 1). It then waits for the combined price of both the "up" and "down" outcomes to fall below a target like 95 cents total. Since the two outcomes together always resolve to exactly one dollar, buying both for 95 cents locks in a guaranteed 5 cent profit regardless of which way the asset moves. If the ideal price combination never appears, a stop-loss hedge fires automatically to limit the downside. The bot runs in simulation mode by default, logging what it would do without placing real orders. You switch to live trading by setting a flag and providing your wallet credentials. It supports multiple cryptocurrency markets simultaneously and tracks profit and loss across periods. Built with TypeScript on Node.js, it requires a funded wallet on the Polygon blockchain network to trade with real money.
A TypeScript bot that arbitrages Polymarket's 15-minute crypto price markets using a dump-and-hedge strategy, with a safe simulation mode.
Mainly TypeScript. The stack also includes TypeScript, Node.js, Polygon.
Setup difficulty is rated hard, with roughly 1h+ to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.