{"repo":"iceleen/PolyPair-Lock-Polymarket-BTC-YES-NO-Pair-Arbitrage-Merge-Bot-5m-15m-1h","free":true,"listed":false,"github":"https://github.com/iceleen/PolyPair-Lock-Polymarket-BTC-YES-NO-Pair-Arbitrage-Merge-Bot-5m-15m-1h","clone":"git clone https://github.com/iceleen/PolyPair-Lock-Polymarket-BTC-YES-NO-Pair-Arbitrage-Merge-Bot-5m-15m-1h.git","description":"PolyPair-Lock-Polymarket-BTC-YES-NO-Pair-Arbitrage-Merge-Bot-5m-15m-1h PolyPair-Lock-Polymarket-BTC-YES-NO-Pair-Arbitrage-Merge-Bot-5m-15m-1h PolyPair-Lock-Polymarket-BTC-YES-NO-Pair-Arbitrage-Merge-Bot-5m-15m-1h PolyPair-Lock-Polymarket-BTC-YES-NO-Pair-Arbitrage-Merge-Bot-5m-15m-1h","language":"TypeScript","stars":25,"topics":["nodejs","paper-trading","polygon","polymarket","polymarket-algo-trading","polymarket-arbitrage-bot","polymarket-automated-trading","polymarket-bot","polymarket-btc-5-minute-bot","polymarket-clob-bot"],"license":"MIT","category":"trading","readme_excerpt":"PolyPair Lock — Polymarket BTC YES+NO Pair Arbitrage & Merge Bot (5m / 15m / 1h) Pair lock, not directional bet. PolyPair Lock detects when bestAsk(UP) + bestAsk(DOWN) = MERGE THRESHOLD Safe exit Stop buys + cancel orders before close; redeem after settlement Identical paths Paper and live share the same decision engine Every tick evaluates: combined ask, net edge, liquidity depth, inventory imbalance, time-to-expiry blackout, and all risk gates before entering. --- Quick Start Prerequisites - Node.js 20+ - Network access to Polymarket Gamma/CLOB APIs Install Health Check Validates Node version, Gamma API, CLOB API, profile config, market discovery, and live-key readiness. Run Paper Bot (BTC 5m — First Milestone) Connects to public market data — no wallet required . Discovers the next 5m market, streams CLOB order books, detects combined-ask edge, simulates balanced dual-side fills, tracks theoretical locked profit, and prints a live dashboard. Run Tests --- Core Strategy 1. Discover the next active BTC Up/Down market via Gamma API using deterministic slugs ( btc-updown-5m-{timestamp} ). 2. Stream real-time order books via Polymarket CLOB WebSocket (REST fallback only). 3. Compute continuously: - combinedAsk = bestAskUp + bestAskDown - edge = 1 - combinedAsk - netEdge = edge - fees - slippage - mergeCost 4. Enter when netEdge = TARGET EDGE and liquidity/size checks pass — aggressive buys on both sides in balanced size. 5. Track inventory: matchedPairs = min(upShares, downShar","default_branch":null,"files":null,"tree":[],"storefront":"/r/iceleen","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/iceleen/PolyPair-Lock-Polymarket-BTC-YES-NO-Pair-Arbitrage-Merge-Bot-5m-15m-1h/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}