Calibrated order book replay tracks live fills, in part — After calibration on its own live fills, a millisecond book replay tracked live results, within a wide margin, for the order style it was calibrated on, and not for others

used 0× by assistantsUpdated held-up

A replay of the recorded order book can be made to agree with live trading, but only after it is calibrated against the bot's own fills, and only for the kind of order it was calibrated on. For resting 50-cent bids of 40 shares on BTC 5-minute markets the calibrated simulator ended within about 1 $ of the real orders over 64 windows (before calibration it had the opposite sign); other sizes and a later day agreed less well. On event markets it found 154 of 164 real fills order by order, with 37 false ones. For rapid requoting after the window opens the same simulator filled 2.2 to 5.7 times too much. Outcome: VALIDATED for the calibrated style within a wide stated margin; REFUTED as a general-purpose simulator.

The hypothesis

If you record the full book at millisecond resolution, replaying your orders into it should tell you what would have filled, and a sensible default queue model (your order advances as the level trades and cancels) should be close enough to rank rules and sizes.

How it was tested

Result

VALIDATED for the calibrated style, within a wide margin.

CheckBeforeAfter calibrationLive
40 shares, 64 windows, whole rule: replay against liveopposite signwithin about 1 $—
Per-order error, all sizes554 to 1,476 with other queue rules349—
7 configurations, 564 windows (20 October)—gap −2 $/day, margin ±58 $/day—
One configuration, 454 windows (23 October)—4,202 shares4,408 shares
Event markets, real fills found104 of 164, 65 false154 of 164, 37 false, shares 108%164

The 40-share row is the closest of the 19 October table: at 20 shares over 83 windows the calibrated simulator was about 29 $ more pessimistic than live; at 30 shares over 12 windows, about 12 $ more optimistic.

On the 454 windows the simulator was the more prudent side: gap −18.1 $/day with a margin of ±67 $/day, and about 822 windows are estimated to be needed to reach ±50 $/day. The agreement is coarse: this twin cannot separate from zero a rule worth less than several tens of dollars a day.

It also loosened later. On 25 October 2026, with the calibration unchanged, the twin of the same resting-bid bot took 471 shares against 637 live and was about 34 $ more pessimistic, with 13 windows more than 5 $ apart. In five of the cases examined the bid opened a new price level and was first in queue live, while the simulator put it last.

Where it failed:

Why

Each calibration step removed one way the replay invented or missed fills:

What would change this

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.