10 Backtesting Mistakes That Will Wreck Your Portfolio
Backtesting is the discipline of testing a trading strategy on historical data to see how it would have performed. Done correctly, it's the single most powerful tool a quantitative trader has. Done incorrectly — which is how most retail traders do it — it's a recipe for catastrophic real-money losses.
Every backtested strategy looks good. That's the trap. The hard work is figuring out whether the historical performance was real edge or pure statistical artifact. Below are the ten most expensive mistakes, ranked by frequency in retail trading systems.
1. Lookahead Bias
The most common, most damaging mistake. You accidentally use information in your decision logic that wasn't available at the time of the trade.
2. Survivorship Bias
Your historical dataset only contains companies that still exist today. All the bankruptcies, delistings, and acquisitions are missing.
3. Overfitting (Curve-Fitting)
You tune your strategy parameters until they produce great historical results. The numbers are perfect for the past. The strategy has zero predictive power for the future.
4. Ignoring Transaction Costs
Real trading costs money. Commissions, bid-ask spread, slippage on large orders. A strategy that trades 50 times a month at 0.05% per trade loses 2.5% per month — 30% annually.
5. Look-Ahead in Fundamentals (Restated Data)
Quarterly earnings reports are often restated months later as auditors catch errors. Databases store the final restated number. Your backtest "sees" the corrected figure on the original earnings date.
6. Ignoring Position Sizing and Capital
Your backtest assumes you always trade the same dollar amount. In reality, returns compound. A 50% drawdown in year 1 leaves you 50% smaller forever.
7. Selection Bias in Your Universe
You backtest on "tech stocks" or "high beta names" because they had great historical runs. The selection of the universe itself contains hindsight.
8. Ignoring Regime Changes
Markets behave fundamentally differently in different regimes. A strategy that worked in 2015-2019 (low-vol bull market) may fail in 2022 (high-vol bear) or 2020 (regime transition).
9. Data Snooping / P-Hacking
You test 1,000 strategies. About 50 will look great by random chance (5% false positive rate). You pick the best one and claim "discovered alpha."
10. Trusting a Single Backtest
One backtest run is one realization of the future. Markets are stochastic — your specific historical period was somewhat random.
The Backtest Checklist Before Going Live
Before risking real money on any backtested strategy:
- Has it been tested with walk-forward (not just in-sample) data?
- Are realistic transaction costs included?
- Is the universe selection rule-based, applied point-in-time?
- Does it work across at least 2 distinct market regimes?
- Is max drawdown manageable for your psychology?
- Have you tested with different starting dates (path dependency)?
- Have you adjusted for the number of strategies tested (multiple-comparisons)?
- Do you have an economic reason the edge exists? (Behavioral, structural, informational, etc.)
- Have you paper-traded it for at least 3 months matching live conditions?
- Have you sized positions so a 50% drawdown wouldn't destroy you mentally or financially?
If you can't check off at least 8 of 10, don't risk significant capital.
Try Robust Backtesting
10X Rock's Backtester implements SMA Cross and RSI Mean Reversion strategies against historical data with standardized transaction-cost assumptions. Use it as a starting point — and then run the strategy on out-of-sample data before committing real money.
Try the Backtester →Further Reading
- López de Prado, M. (2018). Advances in Financial Machine Learning. Wiley. Especially Chapters 11-15 on backtesting.
- Bailey, D. H., Borwein, J., López de Prado, M. & Zhu, Q. J. (2014). "Pseudo-Mathematics and Financial Charlatanism." Notices of the AMS.
- Harvey, C. R., Liu, Y. (2015). "Backtesting." Journal of Portfolio Management.
Disclaimer: Backtesting is a statistical exercise on historical data. Even perfectly conducted backtests cannot guarantee future performance. Always validate strategies with out-of-sample testing and paper trading before risking real capital.