whatisgithub

What is polymarket-arbitrage-trading-bot?

dev-ocr/polymarket-arbitrage-trading-bot — explained in plain English

Analysis updated 2026-05-18

213TypeScriptAudience · developerComplexity · 4/5Setup · hard

In one sentence

A TypeScript bot that arbitrages Polymarket's 15-minute crypto price markets using a dump-and-hedge strategy, with a safe simulation mode.

Mindmap

mindmap
  root((repo))
    What it does
      Watches 15min crypto markets
      Buys dips then hedges
      Locks in small guaranteed profit
    Tech stack
      TypeScript
      Node.js
      Polygon blockchain
    Use cases
      Simulated arbitrage testing
      Live crypto market arbitrage
      Multi market profit tracking
    Audience
      Experienced crypto traders
      Node.js developers
    Safety
      Simulation mode by default
      Automatic stop loss hedge

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Simulate the dump-and-hedge arbitrage strategy without risking real funds.

USE CASE 2

Trade Bitcoin, Ethereum, and other short-duration Polymarket markets live.

USE CASE 3

Track profit and loss across multiple simultaneous markets.

USE CASE 4

Study a working example of a hedged crypto arbitrage strategy.

What is it built with?

TypeScriptNode.jsPolygon

How does it compare?

dev-ocr/polymarket-arbitrage-trading-botgajus/zod-compilerant-design/ant-design-cli
Stars213213216
LanguageTypeScriptTypeScriptTypeScript
Setup difficultyhardeasyeasy
Complexity4/52/52/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · hard Time to first run · 1h+

Live trading requires a funded wallet on Polygon, simulation mode needs no funds.

So what is it?

This is an automated trading bot for Polymarket's short-duration cryptocurrency price markets. Polymarket is a prediction market platform where users bet on real-world outcomes, and this bot specifically targets 15-minute windows where you bet whether Bitcoin, Ethereum, or other assets will go up or down. The trading strategy is called dump-and-hedge. The bot monitors price movements during the opening minutes of each 15-minute period and watches for a sharp price drop on one side of the market. When it detects such a drop, it buys that cheaper side (Leg 1). It then waits for the combined price of both the "up" and "down" outcomes to fall below a target like 95 cents total. Since the two outcomes together always resolve to exactly one dollar, buying both for 95 cents locks in a guaranteed 5 cent profit regardless of which way the asset moves. If the ideal price combination never appears, a stop-loss hedge fires automatically to limit the downside. The bot runs in simulation mode by default, logging what it would do without placing real orders. You switch to live trading by setting a flag and providing your wallet credentials. It supports multiple cryptocurrency markets simultaneously and tracks profit and loss across periods. Built with TypeScript on Node.js, it requires a funded wallet on the Polygon blockchain network to trade with real money.

Copy-paste prompts

Prompt 1
Explain how the dump-and-hedge strategy in this bot locks in a guaranteed profit.
Prompt 2
Walk me through how to run this bot in simulation mode before switching to live trading.
Prompt 3
What does the stop-loss hedge do if the ideal price combination never appears?
Prompt 4
How do I set up a funded Polygon wallet for this bot's live trading mode?
Prompt 5
Suggest a safe way to test this bot across multiple markets before risking real money.

Frequently asked questions

What is polymarket-arbitrage-trading-bot?

A TypeScript bot that arbitrages Polymarket's 15-minute crypto price markets using a dump-and-hedge strategy, with a safe simulation mode.

What language is polymarket-arbitrage-trading-bot written in?

Mainly TypeScript. The stack also includes TypeScript, Node.js, Polygon.

How hard is polymarket-arbitrage-trading-bot to set up?

Setup difficulty is rated hard, with roughly 1h+ to a first successful run.

Who is polymarket-arbitrage-trading-bot for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.