back to home

CryptoVictormt / polymarket-copy-trading-bot

Polymarket Trading Bot Polymarket Trading Bot Polymarket Trading Bot Polymarket Trading Bot Polymarket Trading Bot Polymarket Trading Bot Polymarket Trading Bot Polymarket Trading Bot Polymarket Trading Bot Polymarket Trading Bot Polymarket Trading Bot Polymarket Trading Bot Polymarket Trading Bot Polymarket Trading Bot Polymarket Trading Bot

View on GitHub
828 stars
612 forks
7 issues

AI Architecture Analysis

This repository is indexed by RepoMind. By analyzing CryptoVictormt/polymarket-copy-trading-bot in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.

Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context on-demand, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.

Source files are only loaded when you start an analysis to optimize performance.

Embed this Badge

Showcase RepoMind's analysis directly in your repository's README.

[![Analyzed by RepoMind](https://img.shields.io/badge/Analyzed%20by-RepoMind-4F46E5?style=for-the-badge)](https://repomind.in/repo/CryptoVictormt/polymarket-copy-trading-bot)
Preview:Analyzed by RepoMind

Repository Overview (README excerpt)

Crawler view

Polymarket Copy Trading Bot > Automated copy trading bot for Polymarket that mirrors trades from top performers with intelligent position sizing and real-time execution. Version 2.0 employs the fastest transaction detection method, enabling near-instantaneous trade replication with lower latency and reduced API load. The copy trading feature in Version 2.0 delivers outstanding performance and resolves all issues previously encountered with “Cloudflare” and VPNs in older versions. Overview The Polymarket Copy Trading Bot automatically replicates trades from successful Polymarket traders to your wallet. It monitors trader activity 24/7, calculates proportional position sizes based on your capital, and executes matching orders in real-time. How It Works • **Select Traders** - Choose top performers from Polymarket leaderboard or Predictfolio • **Monitor Activity** - Bot continuously watches for new positions opened by selected traders using Polymarket Data API • **Calculate Size** - Automatically scales trades based on your balance vs. trader's balance • **Execute Orders** - Places matching orders on Polymarket using your wallet • **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 Install dependencies Configure Environment Edit with your settings: Build and start **📖 For detailed setup instructions, see Getting Started Guide** Features • **Multi-Trader Support** - Track and copy trades from multiple traders simultaneously • **Smart Position Sizing** - Automatically adjusts trade sizes based on your capital • **Tiered Multipliers** - Apply different multipliers based on trade size • **Position Tracking** - Accurately tracks purchases and sells even after balance changes • **Trade Aggregation** - Combines multiple small trades into larger executable orders • **Real-time Execution** - Monitors trades every second and executes instantly • **MongoDB Integration** - Persistent storage of all trades and positions • **Price Protection** - Built-in slippage checks to avoid unfavorable fills 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 | Variable | Description | Example | |----------|-------------|---------| | | Traders to copy (comma-separated) | | | | Your Polygon wallet address | | | | Wallet private key (no 0x prefix) | | | | MongoDB connection string | | | | Polygon RPC endpoint | | | | Position size multiplier (default: 1.0) | | | | Check interval in seconds (default: 1) | | Finding Traders • Visit Polymarket Leaderboard • Look for traders with positive P&L, win rate >55%, and active trading history • Verify detailed stats on Predictfolio • Add wallet addresses to **📖 For complete configuration guide, see Quick Start** Documentation Getting Started • **🚀 Getting Started Guide** - Complete beginner's guide • **⚡ Quick Start** - Fast setup for experienced users License MIT License - See LICENSE file for details. **Disclaimer:** This software is for educational purposes only. Trading involves risk of loss. The developers are not responsible for any financial losses incurred while using this bot. **Support:** For questions or issues, contact via Discord: