A backtest applies a trading rule to past data to see how it would have performed. It is a useful filter, but most great-looking backtests fail in live trading for a handful of well-known reasons.
Overfitting (curve fitting)
If you tune enough parameters, you can find a rule that fits the past perfectly and the future not at all. The more parameters and the more variants you tried, the more likely the result is noise. Warning signs: a very sharp optimum (a small change in a parameter ruins the result), many rules and no reason why it should work.
Look-ahead bias
Using information that was not available at the time: a daily high or low that is only known at the close, a signal calculated on a candle's close but entered at its open, or data that was revised later. Always ask what exactly you knew when you placed the order.
Ignored costs
Commissions, exchange fees and, above all, slippage and spread. A strategy with many small trades can show a profit before costs and a loss after them. Use realistic assumptions, and for limit orders assume that some do not fill.
Small samples and survivorship
Thirty trades prove nothing, and a few big winners can hide a losing rule. Test over many trades, over several years and across different regimes (trend, range, high and low volatility). Make sure the test includes markets and instruments that failed, not only those that survived.
Honest validation
- Out-of-sample test: develop the rule on one period, then test it once on data you have never touched.
- Walk-forward: repeat the process on rolling windows, optimising on one and testing on the next.
- Robustness: small changes in parameters should not destroy the result.
- Paper trading or tiny live size before you scale up: the live result is the final test.
A realistic mindset
Expect live results to be worse than the backtest and size positions accordingly. A strategy that is simple, has a clear reason to work and survives these checks is worth more than a complex one with a beautiful curve. Past performance does not guarantee future results. Trading carries a risk of loss.
Original material; not investment advice. Not investment advice. Futures trading carries a high risk of loss.