QUESTION
How should equal-timestamp market events be ordered so replay is reproducible?
- 01
HYPOTHESIS
Without deterministic tie-breaking, equal-timestamp events order arbitrarily across runs, making replay irreproducible.
- 02
METHOD
Reorder stage with explicit deterministic tie-breaking rules; repeated replay verification that output is byte-identical.
- 03
EVIDENCE
quant-market-data-replay determinism verification: identical replays across runs including tie-breaking.
- 04
RESULT
Replay determinism holds under nanosecond timestamps with equal-timestamp events.
- 05
LIMITATION
Tie-breaking rules encode an ordering assumption — an approximation of true within-timestamp causality.
- 06
CONCLUSION
Determinism requires explicit choices at every ambiguity. Defaulting to insertion order is a choice; making it deliberate is the difference.
EVIDENCE SOURCE
QUANT MARKET DATA REPLAY
Every backtest is a claim about the past — and most are wrong in a specific, preventable way: they let strategies see the future.
METHOD — TEST SUITE · DETERMINISM