[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-93264":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":8,"language":10,"languages":8,"totalLinesOfCode":8,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":14,"subscribersCount":14,"size":14,"stars1d":14,"stars7d":15,"stars30d":15,"stars90d":14,"forks30d":14,"starsTrendScore":14,"compositeScore":16,"rankGlobal":8,"rankLanguage":8,"license":8,"archived":17,"fork":17,"defaultBranch":18,"hasWiki":19,"hasPages":17,"topics":20,"createdAt":8,"pushedAt":8,"updatedAt":21,"readmeContent":22,"aiSummary":23,"trendingCount":14,"starSnapshotCount":14,"syncStatus":24,"lastSyncTime":25,"discoverSource":26},93264,"scaling-octo-engine","JexTradesLab\u002Fscaling-octo-engine","JexTradesLab",null,"https:\u002F\u002Fx.com\u002FPMTraderAdam","TypeScript",312,344,199,0,37,63.81,false,"master",true,[],"2026-07-22 04:02:08","# Polymarket Arbitrage Trading Bot - PMTraderAdamBot that makes $500 per Day\n\nEnglish | [中文（简体）](README_CN.md) | [Русский](README_RU.md)\n\n> **Open-source TypeScript polymarket arbitrage trading bot** that automatically mirrors top Polymarket traders in real time.  \n> Follow profitable wallets across any market (crypto, elections, sports, macro, etc.) on polymarket.\n\n**Repository:** [github.com\u002FPMTraderAdam\u002FPolymarket-Arbitrage-Bot-500usd-Daily-Copytrading](https:\u002F\u002Fgithub.com\u002FPMTraderAdam\u002FPolymarket-Arbitrage-Bot-500usd-Daily-Copytrading).\n**Author:** [@PMTraderAdam](https:\u002F\u002Fgithub.com\u002FPMTraderAdam)\n\nThis polymarket arbitrage trading bot connects to Polymarket’s APIs, monitors one or more target wallets (or a dynamic leaderboard), detects their trades, and replicates them in your wallet with customizable sizing, risk limits, and filters.\n\n**Live example polymarket arbitrage trading bot profile:** [PMTraderAdamBot](https:\u002F\u002Fpolymarket.com\u002F@PMTraderAdam)\n\nhttps:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002Fbb2b06ae-7bfb-44e6-a7ed-d474d65d15b9\n\n---\n\n## Polymarket Arbitrage Trading Bot Track Record\n\nLive results from the strategy this polymarket arbitrage trading bot automates — consistent execution across crypto up\u002Fdown markets and event-driven positions.\n\n\u003Ctable>\n  \u003Ctr>\n    \u003Ctd width=\"50%\" align=\"center\" valign=\"top\">\n      \u003Cimg src=\"data\u002Fimage (1).jpg\" alt=\"Polymarket profile overview with total profit and biggest wins\" width=\"420\" \u002F>\n      \u003Cp>\u003Cstrong>All-time edge\u003C\u002Fstrong>\u003Cbr \u002F>\n      \u003Csub>+$22K realized profit with a steady equity curve and documented high-conviction wins across sports, tech, and macro markets.\u003C\u002Fsub>\u003C\u002Fp>\n    \u003C\u002Ftd>\n    \u003Ctd width=\"50%\" align=\"center\" valign=\"top\">\n      \u003Cimg src=\"data\u002Fimage (2).jpg\" alt=\"Polymarket profile dashboard showing profit and loss chart\" width=\"420\" \u002F>\n      \u003Cp>\u003Cstrong>Live dashboard\u003C\u002Fstrong>\u003Cbr \u002F>\n      \u003Csub>900+ resolved predictions, $27K+ positions value, and a compounding PnL curve — the same execution stack this binary runs in production.\u003C\u002Fsub>\u003C\u002Fp>\n    \u003C\u002Ftd>\n  \u003C\u002Ftr>\n  \u003Ctr>\n    \u003Ctd width=\"50%\" align=\"center\" valign=\"top\">\n      \u003Cimg src=\"data\u002Fimage (3).jpg\" alt=\"Past day profit of over twelve hundred dollars\" width=\"420\" \u002F>\n      \u003Cp>\u003Cstrong>Daily momentum\u003C\u002Fstrong>\u003Cbr \u002F>\n      \u003Csub>+$1,229 in a single session — delta-momentum entries firing on short-interval crypto up\u002Fdown windows when price breaks threshold.\u003C\u002Fsub>\u003C\u002Fp>\n    \u003C\u002Ftd>\n    \u003Ctd width=\"50%\" align=\"center\" valign=\"top\">\n      \u003Cimg src=\"data\u002Fimage (5).jpg\" alt=\"Hive World Cup trading competition entry card\" width=\"420\" \u002F>\n      \u003Cp>\u003Cstrong>Battle-tested\u003C\u002Fstrong>\u003Cbr \u002F>\n      \u003Csub>Competing in the Hive World Cup on a $500 bankroll — the same risk-adjusted sizing model in the default config.\u003C\u002Fsub>\u003C\u002Fp>\n    \u003C\u002Ftd>\n  \u003C\u002Ftr>\n\u003C\u002Ftable>\n\n\u003Cp align=\"center\">\n  \u003Csub>Past performance does not guarantee future results. See \u003Ca href=\"#disclaimer\">Disclaimer\u003C\u002Fa>.\u003C\u002Fsub>\n\u003C\u002Fp>\n\n---\n\n\n## Polymarket Arbitrage Trading Bot Recent Trade\n\n\u003Cimg width=\"1500\" height=\"1726\" alt=\"recent_trade\" src=\"data\u002F617829075-f659329d-c941-4461-b619-50251e628148.png\" \u002F>\n\n---\n\n## Run from source\n\n### 1. Install\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002FPMTraderAdam\u002FPolymarket-Arbitrage-Bot-500usd-Daily-Copytrading.git\ncd Polymarket-Arbitrage-Bot-500usd-Daily-Copytrading\nnpm install\n```\n\n### 2. 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| `PM_PRIVATE_KEY` | **Yes** | 64-character hex private key (with or without `0x`) |\n| `PROXY_WALLET_ADDRESS` | No | Polymarket proxy\u002Ffunder address for email or social-login accounts |\n\n**Wallet setup**\n\n| Account type | What to set |\n|--------------|-------------|\n| MetaMask \u002F hardware wallet | `PM_PRIVATE_KEY` only — USDC in that EOA |\n| Polymarket.com (email \u002F Google) | Both `PM_PRIVATE_KEY` **and** `PROXY_WALLET_ADDRESS` (your profile address under Polymarket account settings) |\n\nNever commit `.env`.\n\n### 3. Run\n\n```bash\nnpm start\n```\n\nOptional build:\n\n```bash\nnpm run build\n```\n\nOn startup the bot connects to Polymarket feeds and begins monitoring configured markets. Press **Ctrl+C** to stop and see balance, P\u002FL, and trade count.\n\n---\n\n## Requirements\n\n- **Node.js** ≥ 20.6 ([`package.json`](package.json))\n- Polymarket wallet with **USDC** on Polygon\n- Internet access (Polymarket Gamma + CLOB APIs)\n\n---\n\n## Bot has two modes\n> **Arbitrage** and **Copytrading**\n\nYou can run either mode independently or both together.\n\n---\n\n### Mode One: Arbitrage\n\n#### How it works\n\n1. **Monitor** short-duration markets (primarily 5-minute and 15-minute Up\u002FDown contracts on BTC, ETH, SOL, XRP, etc.) in real time via Polymarket’s Gamma API and CLOB WebSocket feeds.\n2. **Detect** high-probability entry windows — typically late in the market cycle when one side becomes a strong favorite (e.g., price enters the 0.97–0.99 band).\n3. **Evaluate** edge using price momentum, time remaining, and configurable thresholds.\n4. **Execute** directional bets (buy the heavy favorite) with precise timing to capture the small but consistent edge before resolution.\n5. **Auto-exit \u002F redeem** at market close or when target profit is reached.\n6. **Log & track** every trade, P\u002FL, win rate, and edge metrics.\n\nThe arbitrage mode runs continuously, scanning new markets as they open and focusing on the highest edge opportunities. It can operate on multiple assets and timeframes simultaneously.\n\n---\n\n#### Features\n\n- Ultra-fast monitoring of 5min \u002F 15min Up\u002FDown markets\n- Configurable favorite price band sniping (e.g. 0.97–0.99)\n- Momentum & time-based entry filters\n- Support for BTC, ETH, SOL, XRP and more\n- Automatic position sizing (fixed USD, % of balance, or Kelly-style)\n- Risk controls (max exposure per market, daily loss limits, concurrent positions cap)\n- Dry-run \u002F simulation mode with historical replay\n- Slippage and fee-aware order placement via CLOB\n- Detailed logging + performance dashboard output\n- Non-custodial — you control your private key\n- TypeScript \u002F Node.js for easy customization\n\n---\n\n#### Strategy \u002F Configuration Options\n\n| Setting                  | Description                                              | Example Value                  |\n|--------------------------|----------------------------------------------------------|--------------------------------|\n| Markets                  | Assets to trade                                          | btc, eth, sol, xrp             |\n| Timeframes               | Market durations to monitor                              | 5min, 15min                    |\n| Entry Price Min\u002FMax      | Favorite price band to enter                             | 0.97 \u002F 0.99                    |\n| Entry Time Min\u002FMax       | Seconds remaining when entry is allowed                  | 250 \u002F 290                      |\n| Bet Size                 | Amount per trade                                         | $50 fixed or 5% of balance     |\n| Max Exposure             | Total capital at risk across all open positions          | 40% of balance                 |\n| Max Concurrent Trades    | Maximum simultaneous positions                           | 6                              |\n| Min Liquidity            | Minimum market liquidity to consider                     | $10,000                        |\n| Daily Loss Limit         | Stop trading if daily drawdown reached                   | -10%                           |\n| Dry Run                  | Simulate without executing real trades                   | Enabled by default             |\n\nTune everything in `src\u002Fconfig.ts` or via environment variables.\n\nScreenshots:\n\n\u003Cimg src=\"data\u002Fbtc-5min-1.png\" alt=\"Polymarket Arbitrage Bot - 1\" \u002F>\n\u003Cimg src=\"data\u002Fbtc-5min-2.png\" alt=\"Polymarket Arbitrage Bot - 2\" \u002F>\n\u003Cimg src=\"data\u002Fbtc-5min-3.png\" alt=\"Polymarket Arbitrage Bot - 3\" \u002F>\n\u003Cimg src=\"data\u002Fbtc-5min-4.png\" alt=\"Polymarket Arbitrage Bot - 4\" \u002F>\n\n---\n\n### Mode Two: Copytrading\n\n*(Your existing content remains unchanged — placed here for completeness)*\n\n#### How it works\n\n1. **Monitor** selected trader wallets (or auto top-performers) in real time.\n2. **Detect** new positions (buys\u002Fsells on specific markets\u002Foutcomes).\n3. **Replicate** the trade in your wallet with scaled size (fixed USD, percentage of balance, or ratio of the leader’s size).\n4. **Apply rules** — max allocation per trade, per trader, total exposure, blacklisted markets, minimum leader confidence, etc.\n5. **Execute** via Polymarket CLOB \u002F CTF Exchange with slippage and fee handling.\n6. **Log & track** every copied trade, P\u002FL, and performance vs. the leaders.\n\nThe polymarket arbitrage trading bot runs continuously and can handle multiple leaders simultaneously.\n\n#### Features\n\n- Real-time trade copying from any Polymarket wallet\n- Support for fixed USD, percentage-based, or ratio sizing\n- Risk controls (max position size, daily loss limits, exposure caps)\n- Leaderboard integration or manual wallet list\n- Market filters (only copy certain categories, minimum liquidity, etc.)\n- Simulation \u002F dry-run mode\n- Detailed logging to console + `logs.txt`\n- Non-custodial — you control your private key\n- TypeScript \u002F Node.js for easy customization\n\n#### Strategy \u002F Configuration Options\n\n| Setting              | Description                                      | Example Value      |\n|----------------------|--------------------------------------------------|--------------------|\n| Target Wallets       | Wallets to copy                                  | Manual list or auto top-10 |\n| Copy Ratio           | Scale relative to leader’s trade size            | 0.5x – 2x          |\n| Fixed Bet Size       | Flat USD amount per copied trade                 | $25 – $250         |\n| Max Exposure         | Total capital at risk across all positions       | 30% of balance     |\n| Min Leader Confidence| Only copy when leader buys above certain price   | Yes @ ≥ $0.70      |\n| Blacklist            | Markets or assets to ignore                      | Custom             |\n| Dry Run              | Simulate without executing                       | Enabled by default for testing |\n\nTune everything in `src\u002Fconfig.ts` or via environment variables.\n\nScreenshots:\n\n\u003Cimg src=\"data\u002Fcopy-bot-1.png\" alt=\"Polymarket Copytrading Bot - 1\" \u002F>\n\u003Cimg src=\"data\u002Fcopy-bot-2.png\" alt=\"Polymarket Copytrading Bot - 2\" \u002F>\n\u003Cimg src=\"data\u002Fcopy-bot-5.png\" alt=\"Polymarket Copytrading Bot - 5\" \u002F>\n\n---\n\n### Reading the logs\n\n| Message | Meaning |\n|---------|---------|\n| `New 5m window (BTC, ETH, SOL, XRP)` | New 5-minute round for all assets |\n| `BTC Up=0.98 Down=0.02 \\| ETH …` | Heartbeat — prices across markets |\n| `Late entry window in 120s` | Waiting until t=250s |\n| `Watching for late favorite @0.98–0.99...` | In entry window, price in band on at least one market |\n| `[ENTRY] ETH BUY Up (favorite) @ 0.98` | Late snipe on Ethereum 5m market |\n| `[EXIT] BTC REDEEM Up @ 1.00 (resolution @ $1.00)` | Win — settled at $1\u002Fshare |\n| `[EXIT] SOL SELL … (favorite lost — exit at bid)` | Loss on Solana market |\n| `Wallet balance is $0` | Deposit USDC or fix `PROXY_WALLET_ADDRESS` |\n\nHistory is appended to **`logs.txt`**.\n\n---\n\n### Example simulation runs\n\nSimulated terminal runs (market conditions vary):\n\n| Starting balance | Per-trade size | Profit (example) |\n|------------------|----------------|------------------|\n| $100 | $10 | ~$40 |\n| $500 | $50 | ~$300 |\n| $1,000 | $100 | ~$500 |\n\nThese differ from the live [@PMTraderAdam](https:\u002F\u002Fpolymarket.com\u002F@PMTraderAdam) results above — the repo **simulates** logic locally; your real P\u002FL depends on balance, sizing, and how often each asset hits the 0.97–0.99 band.\n\n---\n\n### Tuning in code\n\nConstants in [`src\u002Findex.ts`](src\u002Findex.ts):\n\n| Constant | Default | Purpose |\n|----------|---------|---------|\n| `MARKETS` | `btc, eth, sol, xrp` | Assets to monitor |\n| `BET_USD` | `10` | Dollars per trade (per asset) |\n| `ENTRY_TIME_MIN` \u002F `ENTRY_TIME_MAX` | `250` \u002F `290` | Entry window (seconds) |\n| `ENTRY_PRICE_MIN` \u002F `ENTRY_PRICE_MAX` | `0.97` \u002F `0.99` | Favorite price band |\n| `RESOLVE_SEC` | `298` | Settlement time |\n| `FEE_BPS` | `100` | 1% fee |\n\n---\n\n## Project layout\n\n```\nPolymarket-Arbitrage-Bot-500usd-Daily-Copytrading\u002F\n├── src\u002Findex.ts      # Bot logic and strategy constants\n├── .env.example      # Environment template\n├── logs.txt          # Runtime logs (created on start)\n├── package.json\n└── tsconfig.json\n```\n\n---\n\n## Risks & disclaimer\n\n> **Trading prediction markets involves substantial risk of loss.**  \n> This software is provided **as-is** for educational and personal use only.\n\n- **Small edge, large tail risk** — ~$0.02\u002Fshare at $0.98 entry; one reversal can erase many wins.\n- **Not every window trades** — many cycles never hit 0.97–0.99 in time.\n- **This repo simulates P\u002FL** — live trading requires CLOB order placement and real fills; past on-chain results ([@PMTraderAdam](https:\u002F\u002Fpolymarket.com\u002F@PMTraderAdam)) do not guarantee future performance.\n- **Not financial advice** — use at your own risk. Always start with small amounts and paper trade when possible.\n\n---\n\n## License\n\nThis project is open source and available under the ISC License.\n","这是一个开源的Polymarket预测市场套利交易机器人，用于实时镜像并复制高绩效交易员的钱包操作。核心功能包括对接Polymarket API、监控目标钱包或动态排行榜、自动识别并复刻交易（支持自定义仓位大小、风险限额与过滤规则）。技术上基于TypeScript构建，强调低延迟响应与事件驱动执行，适用于预测市场中的跟单、套利及量化策略实盘部署场景。",2,"2026-07-15 02:30:03","CREATED_QUERY"]