
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-codeInstalls 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
| Command | Description |
|---|---|
npm start | Run compiled bot (simulation by default) |
npm run sim | Explicitly run in simulation (no real orders) |
npm run prod | Run with real trades (PRODUCTION=true) |
npm run dev | Run TypeScript directly via ts-node |
npm run build | Compile 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- Polymarket Copy Trading Bot757
- Taiwan Equity Research Coverage755
- Torchcode Pytorch Interview Practice753
- Codex Session Patcher750
- Learn Docker K8s Game746
- Claude Better Cli744
- Ministack Aws Emulator743
- Wildworld Dataset739
- Phantom Ai Coworker729
- Kordoc Korean Document Parser727
- Claw Code Harness721
- Clawd Code Python Port714
- See Through Anime Layer Decomposition706
- Open Agent Sdk701
- Openclaude Multi Llm673
- Emdash Cms672
- Cc Gateway Ai Proxy668
- Open Multi Agent Orchestration665
- Pretext Text Measurement649
- Claude Code Source Recovery648
- Sheets Terminal Spreadsheet646
- Omnivoice Tts627
- Metatron Pentest Assistant602
- Tong Jincheng Relationship Skill595