explaingit

obsidian-trades/polymarket-copy-trading-bot

Analysis updated 2026-05-18

143JavaScriptAudience · generalComplexity · 3/5Setup · moderate

TLDR

An automated bot that trades real money on Polymarket prediction markets, offering an arbitrage mode and a mode that copies another wallet's trades.

Mindmap

mindmap
  root((Polymarket bot))
    What it does
      Places automatic trades
      Connects to crypto wallet
      Real money at risk
    Modes
      Arbitrage on BTC markets
      Copy trading a wallet
    Requirements
      Node.js
      Polygon wallet
      USDC and MATIC
    Safety features
      Hourly loss limit
      Per market spend limit
      Inventory imbalance stop
    Tech stack
      JavaScript
      dotenv config

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

Run an arbitrage strategy on Polymarket's short-duration Bitcoin up or down markets.

USE CASE 2

Mirror the trades of a chosen wallet address on Polymarket automatically.

USE CASE 3

Set spending and loss limits to control risk while the bot trades.

USE CASE 4

Review trade history through the screenshots and configuration table in the README.

What is it built with?

JavaScriptNode.js

How does it compare?

obsidian-trades/polymarket-copy-trading-botamitkumardemo/edgecareermo-tunn/openguider
Stars143142144
LanguageJavaScriptJavaScriptJavaScript
Setup difficultymoderatemoderateeasy
Complexity3/53/52/5
Audiencegeneraldevelopergeneral

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

How do you get it running?

Difficulty · moderate Time to first run · 1h+

Places real money trades using your crypto wallet, requires funding with USDC and MATIC on Polygon, and losses are possible.

The README does not state a license.

In plain English

This is an automated trading bot for Polymarket, a prediction market platform where users bet real money on questions like whether Bitcoin's price will go up or down in the next five minutes. The bot runs on your computer, connects to your crypto wallet, and places trades automatically according to rules you configure. The bot has two main modes. The first is an arbitrage mode: it watches Polymarket's short-duration Bitcoin markets and looks for moments when you can buy both the Up token and the Down token for a combined price below one dollar. Because those two tokens together always settle at exactly one dollar regardless of which way Bitcoin moves, buying both at a discount locks in a profit. The second mode is copy trading, where you give the bot a target wallet address and it mirrors whatever trades that wallet makes on Polymarket. Setup requires Node.js installed on your computer, a Polygon network crypto wallet, USDC stablecoin on Polygon to fund the trades, and a small amount of MATIC to pay network fees. Configuration happens through a .env file where you set your wallet private key, spending limits per trade, hourly loss limits, and how aggressively to trade. The README strongly advises using a separate dedicated wallet for this bot and starting with very small amounts. The README is detailed and written for beginners, with step-by-step installation instructions, a full table explaining every configuration option, and screenshots showing the bot's trade history. It includes multiple safety guardrails: a maximum loss per hour, a maximum spend per market, and inventory imbalance limits that stop the bot if one side of a position grows too large. The README is clear that this places real money trades and that losses are possible.

Copy-paste prompts

Prompt 1
Walk me through setting up this Polymarket trading bot with a dedicated wallet and small starting funds.
Prompt 2
Explain how the arbitrage mode in this bot locks in profit on Bitcoin up and down tokens.
Prompt 3
What environment variables do I need to configure copy trading mode in this bot?
Prompt 4
What safety limits does this bot offer and how do I set conservative values for a beginner?

Frequently asked questions

What is polymarket-copy-trading-bot?

An automated bot that trades real money on Polymarket prediction markets, offering an arbitrage mode and a mode that copies another wallet's trades.

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

Mainly JavaScript. The stack also includes JavaScript, Node.js.

What license does polymarket-copy-trading-bot use?

The README does not state a license.

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

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

Who is polymarket-copy-trading-bot for?

Mainly general.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.