Taker backtests are optimistic until kills are modelled — A taker backtest is optimistic until it reproduces live kills: about three in four live fill-and-kill orders went unfilled, and the residual error is which orders fill
A taker takes liquidity from the book; a fill-and-kill (FAK) order fills what it can at its limit and cancels the rest, so it is "killed" when the quote has gone. On BTC 5-minute markets a taker simulator filled far more orders than the live bots did. Three measurable causes explained most of the gap; a fourth, adverse selection, remained. Outcome: MEASURED; the corrected engine was VALIDATED on the unfilled rate within ±5 points on the validation sample (6.1 points off on an unseen day), not on which orders fill.
The trap
A taker backtest seems simple: at the decision instant, add a latency, look at the recorded book, take what is there. No queue model is needed, so the result feels more trustworthy than a simulation of resting orders. But in fast markets the quote can disappear between decision and matching, and a simulator that still sees it books a fill the live order never gets. A first validation, on the afternoon of 5 October 2026 and on a partial sample, showed the simulator filling 45% of orders against 11% live.
How it was tested
Market: BTC Up/Down 5-minute markets on Polymarket. On the evening of 5 October 2026 the validation was redone on all live orders of the day from two taker bots that reacted to price moves on outside exchanges: 304 and 127 orders. Rejections that do not depend on the book were excluded. The engine was run on the same decisions with different execution-time rules and compared on the unfilled rate, the slippage (how much worse the fill price is than the price seen) and net money. The main comparison used the 243 orders with a fresh recorded book. A later validation covered 372 FAKs outside recording gaps on 5–6 October; 6 October served as an unseen day (174 FAKs from one bot).
Result
MEASURED.
Live: unfilled 75.4% (n 293) and 78.9% (n 123) for the two bots; slippage 1.25 and 1.23 cents.
On the 243 fresh-book orders (live: 73.3% unfilled, slippage 1.33 cents):
| Execution time in the engine | Unfilled | Net in the replay |
|---|---|---|
| Decision + 183 ms (engine as it was) | 58.4% | +17.8 $ |
| Send + 160 ms | 54.3% | +43.4 $ |
| Send + round trip drawn from the live distribution − 10 ms | 69.3% | per-order difference from live, 90% CI [−0.12; +0.15] |
| Send + each order's own round trip − 10 ms (oracle) | 75.7% | agreement 96% |
Measured live round trips: 10th percentile 227 ms, median 271 ms, 90th percentile 402 ms, with tails up to 1.3 s. On the 372 orders the corrected engine gave 72.3% unfilled against 75.3% live (difference −3.0 points, 90% CI [−5.0; −0.9]). On the unseen day it was 6.1 points optimistic (72.1% against 78.2%).
Order by order, the engine remained optimistic. On one bot's 123 orders the corrected engine's net result was better than that of the real orders at the same average price (0.677 against 0.679), although, run freely over the same two hours with the same caps, its total came close to the real one.
Why
Three causes were measured, plus one that stays.
- Frozen book in recording gaps. The recorder had gaps of 16, 13 and 18 s in one window. During a gap the engine's book stands still: for entries with the book frozen more than 1 s the engine filled 100%, live 0%. A competing explanation, that the recorded book was 100 ms late, was refuted (best shift against a second recording: 0 ms). On the unseen day, 19 of 186 orders fell in a recorder silence longer than 1 s, 15 of them in windows with no gap flagged; there the recorded ask differed from the one the bot saw by up to 36 cents.
- Phantom levels. Levels consumed by a trade stayed in the reconstructed book until the next snapshot.
- Latency as a constant. Matching happens at send + round trip − 10 ms, and the round trip has a long tail. Any fixed value was too short; see Polymarket taker delay and maker rebate, measured — Polymarket crypto markets: the documented 150 ms taker delay acts like about 250 ms end to end, and the maker rebate is exactly 0.014·p·(1−p) per share for the exchange's taker delay itself.
- Adverse selection (residual). The real orders took all the losing fills (11 of 11), the engine 78%; on orders that were killed live, the engine filled the winning side more (4.5 expected fills) than the losing side (1.7). The reading: makers pull the good quotes during the delay. The residual optimism was put at about +0.25 $ per order; with it applied, no taker variant tested that evening was demonstrated (Taker rules on exchange moves fail in BTC 5m markets — Taker rules that fire on exchange moves: about 100,000 variants, one survivor that failed on a longer period and went mostly unfilled on real orders, and order fans that do no better than one order).
What would change this
- The live sample is two days and a few hundred orders. The 0.25 $ correction comes from 123 orders in about two hours (17:25–19:20 UTC, 5 October 2026).
- On 21 October 2026 a later replay configuration left the taker delay at its default of 0 and filled a FAK that was killed live: the check has to be repeated whenever the engine or its configuration changes.
How to check it yourself
1. Send a small number of real FAK orders and log send time, response time and result. 2. Replay the same decisions in the simulator. Compare the unfilled rate first, then slippage, then which orders filled (winners against losers), not only totals. 3. Draw the round trip from your measured distribution, not a constant, and send no simulated order where the recorder was silent for more than 1 s. 4. If the simulator fills winners more often than the live bot did, the remaining error is adverse selection: apply a per-order haircut.
Source: Sinapsi — verified compositional memory, queryable by LLMs. Query this wiki live from your assistant over MCP (endpoint: https://sinapsi.wiki/mcp/w/prediction-markets/), or build your own verified wiki (public, or private for your team). CC BY 4.0 — reuse with attribution to Sinapsi.