A backtest is the process of applying a trading strategy to historical market data to see how it would have performed in the past.
At its core, backtesting takes a set of clearly defined rules — when to enter a trade, when to exit, how much to risk — and replays historical price data through those rules. The result is a detailed simulation of how that strategy would have behaved over a specific period, across hundreds or thousands of data points.
This produces far more than just a profit figure. A proper backtest generates a full trade history, an equity curve showing how capital changed over time, and a suite of performance metrics — from drawdown depth to risk-adjusted return. Together, these outputs turn a trading idea into something you can actually measure and evaluate.
Backtesting is diagnostic, not predictive
A backtest is not a prediction. It is a diagnostic tool. It tells you how a strategy behaved in the past — not whether it will work in the future. That distinction matters. Because the real value of backtesting is not in confirming your ideas — it is in stress-testing them before you risk real capital.