polymarket-edge-scanner
github.com/mearley24/polymarket-edge-scanner
Read-only scanner for Polymarket arbitrage: binary complement, NegRisk field arb, and Polymarket×Kalshi cross-venue matches
Same-venue binary complement arb (buy YES and NO of complementary events summing to < 1), multi-outcome NegRisk field arb with false-positive filter, and cross-venue mirror market matching with Polymarket vs Kalshi prices. Read-only, no execution.
This is a focused, lightweight Python scanner that does exactly one thing well: find arbitrage opportunities on Polymarket and across to Kalshi. The codebase is minimal (75KB) — just source files, no extra bloat. It implements three arbitrage types: (1) same-venue binary complements where YES + NO sums to less than 1, (2) multi-outcome NegRisk field arb with a critical false-positive filter (the 'negRiskAugmented' filter that caught the Nobel Peace Prize +46% artifact), and (3) cross-venue mirror matching between Polymarket and Kalshi contracts on the same events. The scanner is read-only by design, making it safe to run without risking capital. It outputs JSON with arb details including profit percentage, required capital, and market links. The code is clean Python with proper API usage, error handling, and rate limiting. The README clearly explains each arb type, the false-positive filter's importance, and how to interpret results. For anyone wanting to understand the polymarket arbitrage landscape without writing code from scratch, this is the ideal starting point. Clone it, run it against live markets, and study the output to learn which arb types are actually profitable in real market conditions. Perfect for research and education.