Back to Search
Honey-Mist

Honey-Mist/Honey-Mist-polymarket-copytrading-bot-newlogic

polymarket bot polymarket bot polymarket bot polymarket trading bot polymarket copy trading bot polymarket trading bot polymarket copy trading bot polymarket trading bot polymarket copy trading bot polymarket trading bot polymarket copy trading bot polymarket trading bot polymarket copy trading bot polymarket trading bot polymarket copy trading bot

95stars
90forks
95watchers
ISC License
Updated 1/20/2026
copy-trading-botpolymarket-copypolymarket-copy-tradingpolymarket-tradingpolymarket-trading-botpolymarket-trading-bot-tradingtrading-bottrading-bot-

README.md

Polymarket Copy Trading Bot

Professional automated copy trading solution for Polymarket that mirrors trades from top performers with intelligent position sizing and real-time execution.

License: ISC Node.js Version GitHub

Overview

The Polymarket Copy Trading Bot is an enterprise-grade automated trading system that replicates trades from successful Polymarket traders directly to your wallet. The bot monitors trader activity 24/7, calculates proportional position sizes based on your capital, and executes matching orders in real-time with minimal latency.

How It Works

Architecture Diagram
  1. Select Traders - Choose top performers from Polymarket leaderboard or Predictfolio
  2. Monitor Activity - Bot continuously watches for new positions opened by selected traders using Polymarket Data API
  3. Calculate Size - Automatically scales trades based on your balance vs. trader's balance
  4. Execute Orders - Places matching orders on Polymarket using your wallet
  5. Track Performance - Maintains complete trade history in MongoDB

Quick Start

Prerequisites

  • Node.js v18+
  • MongoDB database (MongoDB Atlas free tier works)
  • Polygon wallet with USDC and POL/MATIC for gas
  • RPC endpoint (Infura or Alchemy free tier)

Installation

# Clone repository
git clone https://github.com/Honey-Mist/polymarket-copy-trading-bot.git
cd polymarket-copy-trading-bot

# Install dependencies
npm install

# Run interactive setup wizard
npm run setup

# Build and start
npm run build
npm run health-check  # Verify configuration
npm start             # Start trading

** For detailed setup instructions, see Getting Started Guide**

Key Features

Core Functionality

  • Multi-Trader Support - Track and copy trades from multiple traders simultaneously
  • Smart Position Sizing - Automatically adjusts trade sizes based on your capital relative to trader's portfolio
  • Tiered Multipliers - Apply different multipliers based on trade size for optimized risk management
  • Position Tracking - Accurately tracks purchases and sells even after balance changes
  • Trade Aggregation - Combines multiple small trades into larger executable orders for efficiency
  • Real-time Execution - Monitors trades every second and executes instantly
  • MongoDB Integration - Persistent storage of all trades and positions for analytics
  • Price Protection - Built-in slippage checks to avoid unfavorable fills

Advanced Capabilities

  • Adaptive Strategy - Dynamic position sizing based on market conditions
  • Health Monitoring - Built-in health checks and error recovery
  • Comprehensive Logging - Detailed logs for debugging and performance analysis
  • Gnosis Safe Support - Compatible with both EOA and Gnosis Safe wallets

Monitoring Method

The bot currently uses the Polymarket Data API to monitor trader activity and detect new positions. The monitoring system polls trader positions at configurable intervals (default: 1 second) to ensure timely trade detection and execution.

Configuration

Essential Variables

VariableDescriptionExample
USER_ADDRESSESTraders to copy (comma-separated)'0xABC..., 0xDEF...'
PROXY_WALLETYour Polymarket wallet address'0x123...'
PRIVATE_KEYWallet private key'abc123...'
MONGO_URIMongoDB connection string'mongodb+srv://...'
RPC_URLPolygon RPC endpoint'https://polygon...'
TRADE_MULTIPLIERPosition size multiplier (default: 1.0)2.0
FETCH_INTERVALCheck interval in seconds (default: 1)1

Finding Traders

  1. Visit Polymarket Leaderboard
  2. Look for traders with positive P&L, win rate >55%, and active trading history
  3. Verify detailed stats on Predictfolio
  4. Add wallet addresses to USER_ADDRESSES

** For complete configuration guide, see Quick Start**

Documentation

Getting Started Guides

Advanced Documentation

License

ISC License - See LICENSE file for details.

Acknowledgments


Advanced Features

Version 2 (Advanced Edition)

** Version 2 Available:** An advanced version with RTDS (Real-Time Data Stream) monitoring is now available as a private repository.

Version 2 features:

  • Fastest Trade Detection - Near-instantaneous trade replication with minimal latency
  • Reduced API Load - Optimized data streaming for better performance
  • Enhanced Features - Advanced risk management and position sizing algorithms
  • Improved Profitability - Optimized execution for better trade outcomes
Version 2 Features

Additional Tools

We've also developed a high-performance trading bot for Polymarket built with Rust, designed for maximum speed and efficiency.

Rust Trading Bot

Watch Demo Video

Recommended Infrastructure

VPS Hosting

For optimal performance, we recommend using a dedicated VPS with low latency to Polymarket servers:

Recommended Provider: TradingVPS

VPS Recommendation

Benefits:

  • Low latency to Polymarket infrastructure
  • 24/7 uptime guarantee
  • Optimized for trading applications
  • Professional support

Support & Contact

For questions, issues, or feature requests, please reach out:


Disclaimer

Important: This software is provided for educational and research purposes only. Trading cryptocurrency and prediction markets involves substantial risk of loss. Past performance does not guarantee future results.

  • The developers and contributors are not responsible for any financial losses incurred while using this bot
  • Always test thoroughly in a safe environment before deploying with real funds
  • Use at your own risk and never invest more than you can afford to lose
  • Ensure you understand the risks associated with automated trading before use