reason-machines avatar

Polymarket Arbitrage Bot

Automated dump-and-hedge arbitrage bot for Polymarket 15-minute Up/Down markets with a simulation mode.

skills.sh installs
762
GitHub stars
98
last updated
Jul 14, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers BTC, ETH, SOL, and XRP 15-minute markets, detecting sharp price drops and hedging the opposite outcome
  • Includes npm scripts for simulation (npm run sim), production trading (npm run prod), and TypeScript builds
  • Enforces a hedge when the combined leg cost falls to or below DUMP_HEDGE_SUM_TARGET, with a stop-loss fallback after a maximum wait
  • Designed for traders testing automated strategies against Polymarket's CLOB order book, starting in simulation mode

Install

$ npx -y skills add reason-machines/trending-skills --skill polymarket-arbitrage-bot -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Polymarket Arbitrage Bot

Skill by ara.so — Daily 2026 Skills collection.

TypeScript bot automating the dump-and-hedge strategy on Polymarket's 15-minute Up/Down markets (BTC, ETH, SOL, XRP). Detects sharp price drops, buys the dipped side, then hedges the opposite outcome when combined cost falls below a profit threshold.

Installation

git clone https://github.com/infraform/polymarket-arbitrage-bot.git
cd polymarket-arbitrage-bot
npm install
npm run build
cp .env.example .env

Key Commands

CommandDescription
npm startRun compiled bot (simulation by default)
npm run simExplicitly run in simulation (no real orders)
npm run prodRun with real trades (PRODUCTION=true)
npm run devRun TypeScript directly via ts-node
npm run buildCompile TypeScript to dist/

Always test with npm run sim before enabling production mode.

Project Structure

Details

Repository
github.com/reason-machines/trending-skills
Categories
Web3 & Crypto, Finance & Trading
First seen
May 16, 2026

More from reason-machines/trending-skills

All 163

Similar to Polymarket Arbitrage Bot

More Web3 & Crypto