aradotso avatar

Polymarket Arbitrage Bot

This is a TypeScript bot that runs the dump-and-hedge arbitrage strategy on Polymarket's 15-minute Up/Down markets for BTC, ETH, SOL, and XRP. It watches for sharp price drops in the opening window, buys the dumped side, then hedges by buying the opposite outcome once the combined cost falls below your profit threshold. The code is well-structured with separate modules for API calls, monitoring, and strategy logic, plus it includes simulation mode so you can test without burning real money. The stop-loss logic will force a hedge if your window times out. If you're already familiar with prediction market mechanics and want to automate this specific pattern, the setup is straightforward with environment variables for all the strategy parameters.

skills.sh installs
762
GitHub stars
61
last updated
Jul 14, 2026

Install

$ npx -y skills add aradotso/trending-skills --skill polymarket-arbitrage-bot --agent claude-code

Installs into .claude/skills of the current project.

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

Sponsors

Details

Repository
github.com/aradotso/trending-skills
First seen
May 16, 2026

More from aradotso/trending-skills

All 251

Recommended

1juliusbrussee avatarcavemanjuliusbrussee/cavemanUltra-compressed communication mode. Cuts output tokens 65% (measured) by speaking like caveman while keeping full technical accuracy. Supports intensity levels618.3Kskills.sh installs
2mattpocock avatargrill-memattpocock/skillsA relentless interview to sharpen a plan or design.1.5Mskills.sh installs
3shadcn avatarimproveshadcn/improveSurvey any codebase as a senior advisor and produce prioritized, self-contained implementation plans for OTHER models/agents to execute. Strictly read-only on s40Kskills.sh installs
4obra avatarsystematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes326.7Kskills.sh installs
5forrestchang avatarkarpathy-guidelinesforrestchang/andrej-karpathy-skillsBehavioral guidelines to reduce common LLM coding mistakes through explicit assumptions, simplicity, and verifiable success criteria.17.9Kskills.sh installs
6vercel-labs avatarfind-skillsvercel-labs/skillsHelps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express int4.3Mskills.sh installs