aradotso avatar

Polymarket Copy Trading Bot

This TypeScript bot monitors a target Polymarket wallet and automatically mirrors their BUY orders to your account using the CLOB API on Polygon. You configure a position multiplier (default 10%) and risk caps, then let it poll the Data API every couple seconds or subscribe via WebSocket for lower latency. It handles three auth modes including EOA and Polymarket's proxy wallets, supports FOK/FAK/LIMIT orders, and enforces per-session and per-market notional limits. Useful if you want to shadow trade someone but don't want to sit there refreshing their activity. The code is straightforward with separate modules for monitoring, execution, and risk management, though you'll need to handle your own trade filtering logic if the target makes moves you don't want to copy.

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

Install

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

Installs into .claude/skills of the current project.

Files

Polymarket Copy Trading Bot

Skill by ara.so — Daily 2026 Skills collection.

A TypeScript bot that continuously monitors a target Polymarket wallet, detects trades in real time via REST polling and/or WebSocket, and mirrors BUY orders to your own account using the Polymarket CLOB SDK on Polygon mainnet.


What It Does

  • Monitors a target wallet via Polymarket Data API (REST polling every ~2s) and optionally WebSocket
  • Mirrors BUY trades only — SELL trades are detected but skipped by default
  • Sizes copies using a configurable POSITION_MULTIPLIER (default 10%) with min/max caps
  • Submits orders as FOK, FAK, or LIMIT via the Polymarket CLOB client
  • Enforces risk limits — per-session and per-market notional caps
  • Supports three auth modes — EOA (SIG_TYPE=0), Poly Proxy (SIG_TYPE=1), Poly Polymorphic (SIG_TYPE=2)

Installation

git clone https://github.com/Neron888/Polymarket-copy-trading-bot.git
cd Polymarket-copy-trading-bot
npm install

Requires Node.js v18+. The CLOB SDK requires ethers v5 (already pinned in package.json).


Configuration

cp .env.example .env

Sponsors

Details

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

More from aradotso/trending-skills

All 251
1mindrally avatarsolanamindrally/skillsExpert guidelines for Solana program development with Rust, Anchor framework, and Web3.js integration751skills.sh installs
2ruvnet avatartrader-portfolioruvnet/rufloOptimize portfolio allocation using npx neural-trader mean-variance engine with risk constraints and rebalancing plan742skills.sh installs
3octagonai avatarstock-quoteoctagonai/skillsRetrieve real-time stock quotes using Octagon MCP. Use when you need current price, day range, 52-week range, volume, market cap, and moving averages for any pu693skills.sh installs
4onewave-ai avatarstock-photo-finderonewave-ai/claude-skillsSearch multiple free stock photo sites simultaneously. Filter by license type, orientation, and color scheme.613skills.sh installs
5longbridge avatarlongbridge-klinelongbridge/skillsCandlestick / OHLCV data and intraday minute series for stocks listed in HK / US / A-share / Singapore via Longbridge Securities. Supports 1m / 5m / 15m / 30m /575skills.sh installs
6longbridge avatarlongbridge-candlesticklongbridge/skillsK-line candlestick pattern recognition for stocks listed in HK / US / A-share / Singapore via Longbridge Securities. Identifies 15 classic patterns (hammer, han565skills.sh installs