aradotso avatar

Polymarket Arbitrage Trading Bot

This bot watches Polymarket's 15-minute crypto prediction markets (BTC, ETH, SOL, XRP) and pounces when one outcome leg dumps hard in the opening window. It buys the dumped leg, then immediately hedges by buying the opposite outcome if the combined cost stays under your target threshold, locking in a structural edge before the round resolves. Built in TypeScript with the official CLOB client, it includes simulation mode for testing your thresholds and a stop-loss timer if the hedge price doesn't cooperate. The dump detection runs on configurable thresholds (default 15% drop in five minutes) and you set your combined price ceiling, shares per leg, and stop-loss timeout in the env file. Useful if you want to automate mean-reversion plays on volatile short-duration markets without babysitting the order book.

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

Install

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

Installs into .claude/skills of the current project.

Files

Polymarket Arbitrage Trading Bot

Skill by ara.so — Daily 2026 Skills collection.

Automated dump-and-hedge arbitrage bot for Polymarket's 15-minute crypto Up/Down prediction markets. Written in TypeScript using the official @polymarket/clob-client. Watches BTC, ETH, SOL, and XRP markets for sharp price drops on one leg, then buys both legs when combined cost falls below a target threshold to lock in a structural edge before resolution.


Installation

git clone https://github.com/apechurch/polymarket-arbitrage-trading-bot.git
cd polymarket-arbitrage-trading-bot
npm install
cp .env.example .env
# Configure .env — see Configuration section
npm run build

Requirements: Node.js 16+, USDC on Polygon (for live trading), a Polymarket-compatible wallet.


Project Structure

Sponsors

Details

Repository
github.com/aradotso/trending-skills
Category
Finance & Trading
First seen
May 16, 2026

More from aradotso/trending-skills

All 251
1sickn33 avatarquant-analystsickn33/antigravity-awesome-skillsquant analyst775skills.sh installs
2meission avatareastmoney_financial_datameission/eastmoney本 Skill 基于东方财富权威数据库及最新行情底层数据构建,支持通过自然语言查询行情类数据(股票、行业、板块、指数、基金、债券的实时行情、主力资金流向、估值等)、财务类数据(上市公司基本信息、财务指标、高管信息、主营业务等)、关系与经营类数据(关联关系、企业经营数据)。避免模型基于过时知识回答金融数据问题,提供权威及718skills.sh installs
31018466411 avataropenclaw-stock-skill1018466411/openclaw-stock-data-skillopenclaw stock skill651skills.sh installs
4longbridge avatarlongbridge-depthlongbridge/skillsOrderbook depth (5/10-level bid/ask), broker queue (HK only), and tick-by-tick trades for stocks via Longbridge Securities. Use for orderbook microstructure que537skills.sh installs
5teneoprotocolai avatarmessari-btc-eth-tracker-teneoteneoprotocolai/teneo-skillsThe Messari Tracker Agent serves as a direct bridge to Messari’s institutional-grade data sources, allowing users to extract BTC and ETH data without. Use this 532skills.sh installs
6nansen-ai avatarnansen-portfolio-trackernansen-ai/nansen-cliHow has a wallet's portfolio changed over time? Historical balances, current snapshot, and per-token PnL.449skills.sh installs