Work / Quant

Three theses against a five-minute market, all killed in simulation

Calibrated probability engine for BTC up/down markets (OOS ECE 0.014). Three pre-registered directional theses tested against CPCV and a deflated Sharpe, each killed in simulation with zero capital risked. Now testing structural edges.

Abstract. Polymarket runs a fresh binary market every five minutes on whether Bitcoin will close above its opening price. I built a research-first system to test, honestly and cheaply, whether a home trader can beat that market after fees and realistic fills. The answer so far, reached across three falsified strategies in simulation, is no, and the reusable platform plus the discipline that killed each thesis is the point.

§ 1 · Problem

Can a home trader beat a five-minute binary market after fees?

Polymarket runs a fresh binary market every five minutes: will Bitcoin close this window above its opening price? The question I set out to answer was narrow and falsifiable — not “can a model predict BTC,” but does any predicted edge survive the venue’s taker fee of 0.07·p·(1−p) per share, spread crossing, queue position, and a measured 166 ms read path from a home seat.

The ground rule from day one: every thesis dies or survives in simulation, with zero capital at risk, against pessimistic fill models and pre-registered gates. Killing a thesis cheaply is a success condition, not a failure.

§ 2 · Data & provenance

A dense point-in-time tape, recorded here

Everything runs on tape I recorded myself: live Binance BTC/USDT WebSocket data and full Polymarket order books, written to per-window parquet by a recorder on Windows Task Scheduler, May to June 2026. The tape is dense — roughly 6,000 book snapshots per five-minute window plus depth and prints — and strictly point-in-time: every feature must be computable from data timestamped before the decision. Lookahead is an explicit promotion gate, not a hope.

One early lesson set the tone. Polymarket’s price-change stream looked like a usable trade feed, but reconstructing books from it produced an inverted book and a phantom edge. The fix was to fill only against the real recorded book — coverage went from 61% to 100% and the phantom vanished. That shape, a flattering number dying under a cross-check, recurred through the whole project.

§ 3 · Method

One pure function, pessimistic fills, pre-registered gates

The model is one pure function — compute(features, params) returning P(up) — called identically by the backtest, the validator, and the live loop, so the three can never diverge. v1 was an interpretable weighted heuristic; v2 a gradient-boosted classifier with Platt scaling behind the same frozen interface. Calibrated leakage-free with purged walk-forward, out-of-sample expected calibration error came down from 0.18 to 0.014 at equal accuracy: if the model says 80%, it wins about 80% of the time.

OOS ECE
0.18
0.014

■ calibrated classifier   ■ heuristic baseline

Fig. 1 — out-of-sample expected calibration error, purged walk-forward. Lower is better; tracks scaled to 0.20.

Execution honesty is the core of the system. The taker model fills at best ask plus one tick, applies the real fee curve, and walks the book for size. The maker model was frozen in a spec before the backtest existed: fills only when the market trades through the quote, resting orders join the back of the queue, quotes and cancels land only after the measured p90 latency of 166 ms (from a 46.9-hour harness), and PnL is realized only at settlement — no mid-price PnL anywhere. Any claimed edge then has to clear seven pre-registered promotion gates plus deflated Sharpe, combinatorial purged cross-validation, and a deterministic bootstrap, with every configuration logged to a trials registry so the multiple-testing correction is bookkeeping rather than archaeology.

# One pure function, called identically by backtest, validator, and live loop.
def compute(features: dict, params: dict) -> float:
    """Return P(up) in [0, 1]. No I/O, no venue imports, no side effects."""
    ...

# Polymarket crypto taker fee, charged per share at the fill price.
def taker_fee(shares: float, p: float) -> float:
    return 0.07 * shares * p * (1.0 - p)

# Selective trading: act only when the edge clears the per-trade cost floor.
edge = p_up - best_ask
take = edge_after_fees(edge, best_ask) >= floor and confidence >= conf_floor
§ 4 · Results

Three theses in, none out

Strategy 1 — the five-minute taker. Rejected. The model was genuinely well calibrated, but decomposing the signal showed about 79% of it was window_delta — the move the market already sees. The strategy held five or six of seven pre-registered gates with the regime gate always failing, and the deflated-Sharpe analysis showed the bar was unreachable at the observed effect size: per-trade Sharpe near 0.13 against roughly 0.65 required. More data can’t fix that; only a five-times-larger edge could. Even at face value the ceiling was $6–9 per day gross.

Strategy 2 — the market maker. Killed at validation. It passed its economics gate first (pessimistic ceiling about $235 per day against a $25 per day floor), then died in the full leakage-free run: 1,200 out-of-sample windows, 4.4 days, 5,780 fills, net −$510 per day, bootstrap 95% lower bound −$1,030 per day. 56.7% of windows were positive; the losers just lose far more. Textbook maker adverse selection — a resting order fills precisely when the market runs through it.

Strategy 2-prime — the hourly forecast. Killed by decision. ECE 0.034 and 83% direction accuracy over 273 days and 6,575 hours, but the accuracy was the move-already-happened artifact again — it climbs from 74% to 88% as the decision point slides from minute 30 to minute 55 of the hour. Priced against a market as sharp as the model, zero trades cleared the fee floor.

Strategy 3 — structural probes, in progress. The first probe, risk-free complementary-pair arbitrage, was killed on the existing tape: mispricings appear in 23.4% of windows (1,446 events over 15.3 days, mean 3.15 cents per pair) but their median lifetime is 0 ms and none survive the 166 ms read path. Capturable value from this seat: $0 per day. A liquidity-reward probe is recording live now — see section 6.

§ 5 · What it taught

The cross-checks are the product

Every flattering number in this project died under a cross-check, and each catch is the real deliverable:

  • The +$4.59 per trade taker edge was a book-reconstruction bug — an inverted book built from the price-change stream. Filling only against the real recorded book erased it.
  • The maker’s mid-price decomposition read +$2,006; the settlement-based PnL on the same fills read −$1,682. In a binary market, adverse selection is dominated by the window outcome, not the next ten seconds of mid — the 10-second tag captured about $228 of roughly $3,900 of true adverse selection.
  • A +$237 per day maker result on 80 windows almost exactly matched the economics ceiling. It was a small-sample mirage on the most favorable slice; the 4.4-day bootstrap erased it.

The meta-lesson: a small directional information edge is not capturable on Polymarket from a home seat. Take it and you pay fees into a crowded latency niche the venue explicitly taxes; make on it and you get adversely selected; slow the horizon and you’re predicting a move the market already priced. My disadvantages are speed and information, and predictive cleverness fixes neither. The transferable rules: bound the economics before building machinery, log every trial from day one, reachability-check every bar the day you set it, and trust the settlement-based, bootstrapped number over the flattering one.

§ 6 · What's next

Structural edges, measured the same way

Strategy 3 targets edges that are structural rather than predictive — roles where the venue pays you and being slow-but-careful is acceptable. Price arbitrage is already killed. The live probe is liquidity-reward farming: Polymarket pays over $5M per month in liquidity incentives (concentrated in sports, not crypto), and Kalshi’s Liquidity Incentive Program pays $10–$1,000 per day for resting orders even when they never fill, which partially decouples the reward from the adverse selection that killed the maker.

A Phase-1 sanity run on the crypto tape correctly reproduced the maker kill (net −$1,649 per day), validating the measurement machinery. Since 2026-06-19 a recorder has been polling four Kalshi LIP markets to measure reward plus rebate minus adverse selection for a realistic pro-rata share. This probe is in progress, not a result. If it dies too, the honest end of the project is the write-up itself: a clean, well-validated “no edge from this seat,” reached for exactly $0 of risked capital.