md0070/polymarket-trading-bot — explained in plain English
Analysis updated 2026-05-18
Automatically trade Bitcoin, Ethereum, Solana, or XRP UP/DOWN markets on Polymarket.
Run an exit-only strategy that closes positions based on time or price movement.
Run an entry-and-exit strategy that picks a favorable side and flips positions near the deadline.
| md0070/polymarket-trading-bot | python-telegrambot/ai-auto-trading | tsukamg/polymarket-weather-trading-engine | |
|---|---|---|---|
| Stars | 163 | 163 | 168 |
| Language | TypeScript | TypeScript | TypeScript |
| Setup difficulty | hard | hard | moderate |
| Complexity | 4/5 | 5/5 | 4/5 |
| Audience | developer | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
Requires a funded Polygon wallet with real USDC and a Polymarket signer key, it places real, not simulated, orders.
This is an automated trading bot for Polymarket, a prediction market platform where you can bet on whether a cryptocurrency price will be higher or lower at the end of a time window. The bot focuses specifically on the UP/DOWN crypto markets for Bitcoin, Ethereum, Solana, and XRP across intervals ranging from 5 minutes to 24 hours. The bot connects to Polymarket's order book, checks the current buy and sell prices for the UP and DOWN positions every second, and then applies one of two configurable trading strategies. The first strategy is exit-only: it holds a position and sells when either enough time has passed in the window or the price has moved far enough from 50 cents. The second strategy also handles entries: it waits for the right time and price window to buy whichever side looks more favorable, then exits based on price movement, with an optional step to immediately flip to the opposite position if the timing looks right. The bot uses real on-chain balances on the Polygon network and submits actual orders, not simulated ones. You need a Polymarket signer key and a proxy wallet funded with USDC on Polygon to run it. Configuration is done through a TOML file where you set the strategy, order size in dollars, which cryptocurrency and time window to trade, and the numeric thresholds that trigger entries and exits. To start it, you install dependencies with npm, create an environment file with your private key and wallet address, edit the trade.toml configuration file with your strategy settings, and run npm run dev. The bot then logs a market snapshot every few seconds showing the current price spread, your position, account balance, and whether the order engine is busy or idle. The project is written in TypeScript and requires Node.js 20.6 or later. No license information is mentioned in the README.
An automated crypto prediction market trading bot for Polymarket that buys and sells UP/DOWN positions on live on-chain order books.
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.