Why Your Backtest and Live Results Differ
Backtests assume ideal fills; live markets do not. Eight common reasons live results differ, a worked slippage example and a checklist.
Topic
Errors that make a backtest look better than live trading: repainting, lookahead bias, too few trades and the gap between simulated and real fills.
Part of: Overfitting and luck
Backtests assume ideal fills; live markets do not. Eight common reasons live results differ, a worked slippage example and a checklist.
A perfect win rate, a profit factor of 99 and no drawdown can all come from two lucky trades. How many trades a backtest needs, with numbers you can check.
· Updated
Why a Pine Script backtest repaints or looks ahead: a worked request.security() future leak, keywords to search for, the reload test and a v6 fix.