Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Simulation and Backtesting

Status DraftPurpose Test counterfactual decisions honestly

A backtest asks what might have happened under decisions that were not actually sent to the historical market. That counterfactual requires assumptions about information, latency, queue position, fills, impact, and costs.

The simulator should make every such assumption visible and test sensitivity to it.