Prediction market scanner
Software I built that reads Kalshi and Polymarket order books and checks whether prices break basic rules of probability once each venue’s fees are paid. It is a research tool: it simulates trades on paper and never places real ones.
- Markets catalogued
- 3.77M
- Since Jul 11, 2026, incl. closed
- Open markets eligible
- 314,627
- Active coverage, Sep 23, 2026
- Re-priced every 2 minutes
- 6,000
- Live order books, Sep 23, 2026
- Automated tests passing
- 1,416
- Full run, Sep 29, 2026
Try it on seven example order books
Pick an example and change the order size. The page walks the book one price level at a time, charges the venue’s fee on every fill, and shows whether any gap is left. The books are made up, because Kalshi’s terms don’t allow republishing its market data. The math is ported from the project’s code and checked against it.
What I did
I chose the research question, wrote the rules the system has to follow, and built it by directing AI coding agents (Claude Code and OpenAI Codex) through written plans, reviews of those plans by a second model, and automated tests. Decisions I made along the way:
- Every flag has to use prices someone could actually trade at, each venue’s own fee schedule, and arithmetic a person can check by hand. There is no code that places orders.
- I removed matching between Kalshi and Polymarket. Markets with the same title on the two venues can settle differently, so a “match” was never a guaranteed hedge.
- Simulated fills have to survive added delay and slippage, and results are versioned. A pre-registered plan will fix the sample before any outcome is seen.
- I run the data collector unattended on my Mac, with a watchdog, verified backups, and a check that pauses decisions when a venue changes its API documentation.
A 69¢ edge that wasn’t there
During testing, the scanner flagged an event with seven named candidates whose YES prices added up to about 29¢. Buy one of each, the logic went, and one of them pays $1, so it reported a 69¢ edge.
The list was still open. Someone not on it could win, and then every contract pays nothing. A set now counts as complete only if it has a catch-all outcome, or a numeric ladder that covers every value with no gaps.
Two related bugs shaped that rule. A film titled Another Simple Favor matched the word “another” and let an open list pass as complete, so labels now have to match whole. And open ends are not enough on their own: a ladder of “2.9 or below” and “3.4 or above” leaves 3.0 to 3.3 uncovered. The open-list case is in the demo.
Limits
- No proven edge. The pre-registered evaluation hasn’t started, so there are no return or accuracy claims here.
- Partial coverage. Each scan re-prices a rotating slice of 6,000 out of about 315,000 eligible markets, and the record has gaps. Decisions also pause when a venue changes its API documentation until someone reviews the change; that pause was in effect when this page went up on Sep 29, 2026.
- Modeled fees. Fees follow the published schedules with conservative rounding. Kalshi’s order-level rebates are not modeled.
- Made-up examples. The demo shows how the checks work, not how often these cases happen.