[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-75802":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":27,"readmeContent":28,"aiSummary":29,"trendingCount":15,"starSnapshotCount":15,"syncStatus":30,"lastSyncTime":31,"discoverSource":32},75802,"polymarket-arbitrage-bot-v2","windowsMarketLab\u002Fpolymarket-arbitrage-bot-v2","windowsMarketLab","polymarket arbitrage bot V2 to interact with CLOB V2 polymarket arbitrage bot polymarket arbitrage bot polymarket arbitrage bot polymarket arbitrage bot polymarket arbitrage bot polymarket arbitrage bot polymarket arbitrage bot polymarket arbitrage bot polymarket arbitrage bot polymarket arbitrage bot polymarket arbitrage bot ","https:\u002F\u002Fpolymarket.com\u002Fcrypto",null,"TypeScript",214,1610,147,0,69,9.62,false,"main",true,[22,23,24,25,26],"arbitrage-bet","clob","clob-v2","polymarket","polymarket-btc-5min-arbitrage-bot","2026-06-12 02:03:36","# Crypto Prediction Executor\n\nEvent-driven execution tooling for short-horizon crypto prediction markets. The project watches live price feeds and CLOB order books, then evaluates configured entry windows before submitting positions through a Safe-backed Polymarket account.\n\nThis version targets Polymarket CLOB V2 and uses the `@polymarket\u002Fclob-client-v2` SDK.\n\n## What It Does\n\n- Tracks active BTC, ETH, SOL, and XRP up\u002Fdown markets.\n- Derives the current market slug from the configured asset and period.\n- Streams order book data from Polymarket's market WebSocket.\n- Streams reference crypto prices from Polymarket RTDS.\n- Applies TOML-defined delta, volatility, and timing rules.\n- Places bull or bear entries through a proxy wallet using CLOB V2 signing.\n\n## Requirements\n\n- Node.js 20 or newer\n- npm 9 or newer\n- Polygon RPC endpoint\n- Polymarket account with CLOB API access\n- Proxy wallet funded with pUSD for CLOB V2 trading\n\nAPI-only users should make sure their collateral is available as pUSD. Legacy USDC.e balances are not the active CLOB V2 collateral.\n\n## Configuration\n\nCreate your local environment file:\n\n```bash\ncp .env.example .env\n```\n\nSet the wallet and RPC values:\n\n```env\nPOLYMARKET_PRIVATE_KEY=YOUR_PRIVATE_KEY\nPROXY_WALLET_ADDRESS=0x0000000000000000000000000000000000000000\nRPC_URL=https:\u002F\u002Fpolygon-mainnet.g.alchemy.com\u002Fv2\u002Fyour-key\n```\n\nTune market selection and entry rules in `trade.toml`:\n\n```toml\n[market]\nmarket_coin = \"btc\"\nmarket_period = \"5\"\n\n[trade_1]\nentry = [\n  { min = 10, max = 500, entry_remaining_sec_down = 1, entry_remaining_sec_up = 2, amount = 5 },\n  { min = 20, max = 500, entry_remaining_sec_down = 2, entry_remaining_sec_up = 3, amount = 5 },\n]\n\n[monitor]\nproxy_wallet_address = \"0x0000000000000000000000000000000000000000\"\nmarket_slug = \"btc-updown-5m-1769634900\"\n```\n\n## Running\n\nInstall dependencies:\n\n```bash\nnpm install\n```\n\nRun in development mode:\n\n```bash\nnpm run start:dev\n```\n\nWrite runtime output to `output.log`:\n\n```bash\nnpm run start:log\n```\n\nBuild TypeScript:\n\n```bash\nnpm run compile\n```\n\nInspect wallet activity for the configured monitor market:\n\n```bash\nnpm run inspect\n```\n\n## Execution Flow\n\n1. Load `.env` and `trade.toml`.\n2. Create or derive Polymarket CLOB API credentials.\n3. Generate the active market slug for the configured cycle.\n4. Resolve CLOB token IDs from Gamma market data.\n5. Subscribe to order book and reference price streams.\n6. Evaluate price delta, volatility bands, and remaining seconds.\n7. Submit one bull or bear order when a configured entry rule matches.\n8. Reset state and move to the next market cycle.\n\n## CLOB V2 Notes\n\n- The project uses `@polymarket\u002Fclob-client-v2`.\n- Client construction uses the V2 options object with `chain`, `signer`, `creds`, `signatureType`, and `funderAddress`.\n- Fees are handled by the protocol at match time.\n- Orders are signed against the V2 exchange domain.\n- Optional builder attribution can be added later with `POLY_BUILDER_CODE`.\n\n## Risk Notice\n\nThis software can submit real orders. Test with small size, confirm wallet permissions, and verify pUSD balance before live trading. Prediction markets are volatile and the configured strategy can lose funds.\n\n## License\n\nMIT","该项目是一个用于Polymarket平台的套利机器人，专门针对CLOB V2版本进行加密货币预测市场的短期交易。其核心功能包括实时监控市场价格和订单簿数据，并根据预设规则自动执行买入或卖出操作。技术上，该工具使用TypeScript编写，通过`@polymarket\u002Fclob-client-v2` SDK与Polymarket CLOB V2交互，支持BTC、ETH等主流币种的上下波动市场跟踪。适用于希望利用价格差异在短时间内获取收益的加密货币投资者。用户需准备Node.js环境、Polygon网络接入点及具备CLOB API访问权限的Polymarket账户。",2,"2026-05-18 11:12:49","CREATED_QUERY"]