REPLYOPSAI RESEARCH NOTE
FAILURE ANALYSIS

Profitable Backtest, Losing Live: Why It Happens

A profitable backtest is a historical simulation, not a promise about the next sequence of market data. The gap becomes largest when the test contains information or assumptions unavailable in real execution.

Historical selection

Testing many variants and retaining the best one creates selection bias even if each individual backtest is calculated correctly.

Execution assumptions

Historical candles do not guarantee a real order would fill at the modeled price. Spread, latency, slippage and liquidity can change net results.

Future leakage

Indicators, preprocessing and machine-learning validation can accidentally incorporate future observations. This can produce performance that cannot exist in forward execution.

Regime change

The future need not resemble the development period. Robustness across different conditions is more informative than maximizing one historical score.

Diagnose the gap before optimizing again

FORWARD SYMPTOMINVESTIGATE FIRST
Far fewer or more tradesData construction, timing and implementation mismatch
Similar trades, worse outcomesSpread, slippage, fees and exit execution
Immediate collapse on unseen dataSelection bias, overfitting or leakage
Losses cluster in one environmentRegime dependence
Several markets fail togetherCorrelated exposure and portfolio risk
Important: changing the strategy immediately creates a new experiment. Preserve the failing version long enough to learn why its historical result did not transfer.

Bridge the gap

Use forward PAPER testing as a separate evidence stage before interpreting historical performance as operationally meaningful.

Backtest vs PAPER →