[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-93021":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":15,"stars7d":15,"stars30d":16,"stars90d":15,"forks30d":15,"starsTrendScore":15,"compositeScore":17,"rankGlobal":10,"rankLanguage":10,"license":10,"archived":18,"fork":18,"defaultBranch":19,"hasWiki":20,"hasPages":18,"topics":21,"createdAt":10,"pushedAt":10,"updatedAt":26,"readmeContent":27,"aiSummary":28,"trendingCount":15,"starSnapshotCount":15,"syncStatus":29,"lastSyncTime":30,"discoverSource":31},93021,"polymarket-copy-trading-bot","ale2348\u002Fpolymarket-copy-trading-bot","ale2348","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 ","https:\u002F\u002Fpolymarket.com\u002F@uptime0724",null,"TypeScript",87,173,1,0,7,44.42,false,"main",true,[22,23,24,25],"bot","polymarket","polymarket-trading-bot","trading","2026-07-22 04:02:07","# Polymarket Copy Trading Bot\n\n**Repository:** [github.com\u002Ftrum3it\u002Fpolymarket-copy-trading-bot](https:\u002F\u002Fgithub.com\u002Ftrum3it\u002Fpolymarket-arbitrage-bot) · **Author:** [@trum3it](https:\u002F\u002Fgithub.com\u002Ftrum3it) · **Telegram:** [@antsaslyku](https:\u002F\u002Ft.me\u002Fantsaslyku), [@uptime](https:uptime0724\u002F\u002Ft.me\u002Fuptime0724)\n\nA TypeScript bot which is copying the known-traders activities with low latency by monitoring Mempool not checking by api request to polymarket backend, combined various strategy (Trade size Determination & Allocation, additional TPSL )- not just copying Target's activity\n\n![Polymarket Copy Trading Bot Banner](doc\u002Fbanner.png)\n\n**Live profile using this strategy:** [**@uptime0724 on Polymarket**](https:\u002F\u002Fpolymarket.com\u002F@uptime0724)\n\nThis repository reads live Polymarket Traders' Activities and **simulates** the same entry\u002Fexit logic (console + `logs.txt`). Press **Ctrl+C** to stop and see balance, P\u002FL, and trade count.\n\n---\n\n## Live proof — buy → redeem cycles\n\nThese are real on-chain transactions from [@uptime0724](https:\u002F\u002Fpolymarket.com\u002F@uptime0724) on Polygon. Each pair shows the same pattern the bot follows: **buy the favorite late in the window → redeem at $1.00 after resolution**.\n\n### Copy Trading Instance\n\n![Polymarket profile — Target's acitivites](doc\u002Ftarget_activity.png)\n![Polymarket profile — Bot account's copying](doc\u002Fcopy_activity.png)\n\n\n\n### Profile screenshots ([@uptime0724](https:\u002F\u002Fpolymarket.com\u002F@uptime0724))\n\nLive Polymarket dashboard — portfolio growth and buy\u002Fredeem activity on Various markets - (2026 World Cup game in this example):\n\n![Polymarket profile — past day profit\u002Floss and recent trades](doc\u002F1_day_pnl.png)\n![Polymarket profile — past week profit\u002Floss and recent trades](doc\u002F1_week_pnl.png)\n![Polymarket profile — past month profit\u002Floss and recent trades](doc\u002F1_month_pnl.png)\n\nTrade history includes repeated entries in late-stage sports, crypto, politics prediction markets followed by successful redemptions at settlement.\n\n---\n\n# Polymarket Copy Trading Bot\n\nAutomatically mirror trades from any public Polymarket wallet in real time.\n\nThe bot continuously monitors selected wallets, detects newly opened positions, and automatically places proportional buy or sell orders on your own account. Position sizing, risk limits, and supported markets are fully configurable.\n\n---\n\n## How it works\n\nThe bot continuously watches one or more public Polymarket wallets for trading activity.\n\n```\nTarget wallet\n      │\n      ▼\n Detect new trade\n      │\n      ▼\n Validate filters\n      │\n      ▼\n Calculate position size\n      │\n      ▼\n Submit order\n      │\n      ▼\n Monitor position\n```\n\nWhenever a tracked wallet opens a new position:\n\n1. Monitor one or more public wallets\n2. Detect newly executed trades\n3. Validate market and risk filters\n4. Calculate your position size\n5. Execute the same trade automatically\n6. Continue monitoring until the position is closed\n\nThe bot supports multiple tracked wallets simultaneously while ensuring configurable exposure limits.\n\n---\n\n## Features\n\n| Feature                | Description                                                 |\n| ---------------------- | ----------------------------------------------------------- |\n| Real-time copy trading | Mirrors trades as soon as they are detected                 |\n| Multiple wallets       | Track multiple traders simultaneously                       |\n| Adjustable sizing      | Fixed dollar amount or percentage-based sizing              |\n| Market filters         | Copy only selected categories or markets                    |\n| Risk management        | Position limits, exposure limits, and daily loss protection |\n| Automatic execution    | Places orders through the Polymarket CLOB                   |\n| Logging                | Complete trade history and execution logs                   |\n\n---\n\n## Requirements\n\n* Node.js ≥ 20.6\n* Polymarket wallet with USDC on Polygon\n* Internet connection\n* Polymarket Gamma + CLOB API access\n\n---\n\n## Quick start\n\n### 1. Install\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002Ftrum3it\u002Fpolymarket-copytrading-bot.git\n\ncd polymarket-copytrading-bot\n\nnpm install\n```\n\n### 2. Configure environment\n\n```bash\n# Windows\ncopy .env.example .env\n\n# macOS \u002F Linux\ncp .env.example .env\n```\n\n| Variable               | Required | Description                                   |\n| ---------------------- | -------- | --------------------------------------------- |\n| POLYMARKET_PRIVATE_KEY | Yes      | Wallet private key                            |\n| PROXY_WALLET_ADDRESS   | Optional | Required for Polymarket email\u002Fsocial accounts |\n| LEADER_WALLET_ADDRESS  | Yes      | Comma-separated wallet addresses to follow    |\n| COPY_USD               | Optional | Fixed dollar amount per copied trade          |\n| COPY_SELLS             | Optional | Mirro Leader wallet's sell activity           |\n\n\nNever commit your `.env` file.\n\n---\n\n## Run\n\n```bash\nnpm start\n```\n\nBuild:\n\n```bash\nnpm run build\n```\n\n---\n\n## Reading the logs\n\n| Message                | Meaning                            |\n| ---------------------- | ---------------------------------- |\n| Watching wallet...     | Monitoring target wallet           |\n| New trade detected     | Copy candidate found               |\n| Market accepted        | Trade passed filters               |\n| Order submitted        | Copy order sent                    |\n| Position opened        | Copy trade completed               |\n| Position closed        | Trade exited                       |\n| Exposure limit reached | Trade skipped due to risk settings |\n| Wallet balance too low | Insufficient USDC                  |\n\nTrade history is automatically saved to `logs.txt`.\n\n---\n\n## Configuration\n\nConstants inside `src\u002Findex.ts`\n\n| Constant           | Purpose                    |\n| ------------------ | -------------------------- |\n| COPY_WALLETS       | Wallets to monitor         |\n| BET_USD            | Fixed copy size            |\n| POSITION_SIZE_MODE | Fixed or percentage sizing |\n| MAX_OPEN_POSITIONS | Concurrent trade limit     |\n| MAX_POSITION_SIZE  | Maximum trade size         |\n| DAILY_LOSS_LIMIT   | Stop after daily loss      |\n| MARKET_FILTER      | Allowed markets            |\n| POLL_INTERVAL      | Wallet polling frequency   |\n\n---\n\n## Position sizing\n\nThe bot supports multiple sizing modes.\n\n### Fixed Size\n\nEvery copied trade uses the same amount.\n\nExample:\n\n```\nTrader buys $2,000\n\n↓\n\nYou buy $50\n```\n\n---\n\n### Percentage Size\n\nYour trade size scales relative to the tracked trader.\n\nExample:\n\n```\nTrader buys $1,000\n\nCopy ratio = 10%\n\n↓\n\nYou buy $100\n```\n\n---\n\n### Risk Capped\n\nMaximum trade size is automatically enforced.\n\nExample:\n\n```\nCalculated copy size = $320\n\nMaximum allowed = $100\n\n↓\n\nBot executes $100\n```\n\n---\n\n## Supported markets\n\nThe bot can copy trades across any supported Polymarket market, including:\n\n* Politics\n* Crypto\n* Sports\n* Business\n* Entertainment\n* World News\n* Economics\n* Technology\n\nMarket filters can be enabled to copy only selected categories.\n\n---\n\n## Risk management\n\nThe bot includes configurable protections:\n\n* Maximum open positions\n* Maximum position size\n* Daily loss limit\n* Market allow\u002Fblock lists\n* Minimum liquidity requirements\n* Minimum order size\n* Automatic duplicate trade prevention\n\n---\n\n## Disclaimer\n\nCopy trading involves significant financial risk.\n\nThe bot attempts to replicate publicly visible trades but cannot guarantee identical execution prices or fills. Market conditions, liquidity, latency, and order book movement may produce different results from the tracked wallet.\n\nPast performance of copied wallets does not guarantee future returns.\n\nUse this software at your own risk.\n\n---\n\n## License\n\nThis project is released under the ISC License.\n","这是一个基于TypeScript开发的Polymarket跟单交易机器人，用于实时复制公开钱包在Polymarket预测市场上的交易行为。其核心特点是通过监听Polygon链上Mempool实现低延迟交易捕捉，避免依赖API轮询；支持动态仓位计算、风险控制（如TP\u002FSL）、多目标钱包并行跟单，并可配置市场范围与资金分配策略。适用于希望自动化复刻成功交易者（如@uptime0724）在体育、加密、政治等预测市场中“晚期买入→到期兑付”策略的用户。",2,"2026-07-11 02:30:40","CREATED_QUERY"]