Skip to main content
Category: Validation & Testing

Backtesting

Simply put

Backtesting is a way of checking how well a predictive model would have worked by running it against past data and comparing its predictions to what actually happened. It is commonly used with financial models, such as trading strategies or risk models, to see whether their predictions line up with real outcomes. Because it relies on historical data, backtesting shows how a model would have performed in the past, which is not a guarantee of how it will perform in the future.

Formal definition

Backtesting is a validation technique in which a predictive or risk model is applied to historical data and its outputs are compared against realized outcomes to assess predictive accuracy. As commonly practiced in finance, it is used to evaluate trading strategies and risk models by testing whether model predictions are consistent with observed results over a historical period; it is a form of retrodiction. Backtesting is typically one component of a broader model validation process rather than a complete substitute for it, and its conclusions are constrained by the representativeness and quality of the historical data used, so results may not generalize to future or out-of-sample conditions. Scope note: the evidence available describes backtesting primarily in the context of financial modeling and general predictive modeling; its application, formality, and regulatory treatment can vary by sector and framework, which is beyond what these sources address.

Why it matters

Backtesting matters because it gives model owners and validators an empirical way to check whether a predictive or risk model's outputs would have aligned with what actually occurred, rather than relying solely on theoretical assumptions or in-sample fit. In finance, where models drive trading strategies and risk estimates, this retrospective comparison against realized outcomes is a common and often expected part of assessing whether a model behaves as intended.

At the same time, its usefulness is bounded by a limitation that professionals should treat as central rather than incidental: backtesting shows how a model would have performed on the specific historical data used. Because those conclusions depend on the representativeness and quality of that data, they may not generalize to future or out-of-sample conditions. Treating a favorable backtest as a guarantee of future performance is a frequent error and conflates historical fit with forward-looking reliability.

For these reasons, backtesting is typically best understood as one input into a broader model validation effort rather than a complete validation in itself. It can support conclusions about predictive accuracy over a past period, but it does not on its own establish that a model is fit for continued use, nor does it eliminate model risk.

Who it's relevant to

Model validators and model risk managers
Validators use backtesting as one technique for assessing whether a model's historical predictions matched realized outcomes. It is typically treated as a component of a wider validation process, and validators should document its data limitations rather than presenting a strong backtest as sufficient evidence of ongoing model reliability.
Quantitative analysts and model developers in finance
Developers of trading strategies and risk models apply backtesting to evaluate performance against historical market or risk data. They are positioned to recognize where in-sample fit may overstate real-world performance and to distinguish historical results from expected future behavior.
Auditors and reviewers of financial models
Those reviewing model use benefit from understanding what backtesting can and cannot demonstrate, so they can probe whether the historical data used was representative and whether backtest conclusions have been appropriately qualified rather than overstated.
Practitioners outside finance evaluating predictive models
Because backtesting is a general technique for testing predictive models on historical data, it can be relevant beyond finance. Its application, formality, and any applicable requirements vary by sector and framework, so practitioners should not assume the financial-modeling conventions described here transfer directly to their context.

Inside Backtesting

Out-of-sample data
Backtesting typically applies a model to historical data that was not used during model development or calibration, so that observed outcomes can be compared against what the model would have predicted. The integrity of this data—its representativeness, completeness, and freedom from look-ahead bias—is central to a credible backtest.
Predicted versus realized outcomes
At its core, backtesting compares a model's predictions or estimates (for example, projected losses, forecasted values, or exceedance counts) against the actual outcomes that subsequently occurred over the same period. The comparison forms the evidentiary basis for judging model quality.
Performance and statistical metrics
Backtests are commonly summarized using quantitative measures appropriate to the model type—such as exception or breach counts, error statistics, or calibration measures. As commonly applied, thresholds or acceptance criteria are set in advance to define what constitutes acceptable performance.
Review window and frequency
A backtest is defined over a specified historical window and is typically repeated on a defined schedule. The choice of window length and testing frequency affects statistical power and the ability to detect deterioration.
Documentation and escalation
In many model risk frameworks, backtesting results are documented and, where results fall outside acceptance criteria, escalated for investigation or remediation. This links the technical exercise to governance and control processes.

Common questions

Answers to the questions practitioners most commonly ask about Backtesting.

Is backtesting the same as model validation?
No. Backtesting is one technique used within validation, not validation itself. As commonly defined, validation is a broader, independent process that assesses conceptual soundness, ongoing monitoring, and outcomes analysis; backtesting typically falls under the outcomes analysis component. Treating backtesting as a complete substitute for validation is a frequent error, since it evaluates predictive accuracy against realized results but does not, on its own, assess whether a model is conceptually appropriate or fit for its intended use.
Does successful backtesting confirm that a model is not exposed to model risk?
No. Strong backtesting results indicate that model outputs aligned with observed outcomes over the tested period, but they do not eliminate model risk. Backtesting is inherently backward-looking and reflects only the conditions present in the historical data used. A model can pass backtesting and still carry material risk from regime changes, data limitations, or use outside its design scope. Backtesting reduces uncertainty about past performance; it does not guarantee future performance.
How often should backtesting be performed?
Frequency typically depends on the model's materiality, use, and volatility of the environment it operates in. In many frameworks, higher-risk models and those in fast-changing conditions are backtested more frequently, while lower-risk models may be assessed on a less frequent cycle. Organizations often align backtesting cadence with their ongoing monitoring schedule and escalation thresholds. There is no single universally required interval; the appropriate frequency is generally risk-based and documented in governance policy.
What data should be used for backtesting to avoid biased results?
Backtesting generally relies on out-of-sample or out-of-time data that was not used to develop the model, so that results reflect genuine predictive performance rather than fit to training data. Practitioners commonly guard against look-ahead bias, in which information not available at the time of prediction inadvertently enters the test. The representativeness and quality of the data also matter, since results only speak to the conditions captured in that data.
Who should be responsible for conducting backtesting within the lines of defense?
Responsibilities are often distributed. Model owners or developers in the first line may run backtests as part of ongoing monitoring, while independent review in the second line typically evaluates or re-performs backtesting as part of validation to preserve independence. Where backtesting supports validation conclusions, keeping the assessment independent of model development is commonly emphasized. The specific allocation depends on an organization's governance structure and should be defined in policy.
How should backtesting results be documented and escalated?
Results are typically documented with the test design, data used, metrics, thresholds, and observed outcomes, so that conclusions can be reviewed and reproduced. Many frameworks tie backtesting to predefined tolerance thresholds that trigger escalation, further investigation, or remediation when breached. Clear documentation supports audit and governance review, and recording both passing and failing results, along with any resulting actions, helps demonstrate that findings were acted upon rather than simply observed.

Common misconceptions

Backtesting is the same as validation.
Backtesting is one technique that may support model validation, but validation as commonly defined is a broader independent assessment covering conceptual soundness, data quality, implementation, and ongoing monitoring. Treating a passed backtest as a completed validation conflates a single test with the full validation exercise.
A successful backtest confirms the model will perform well going forward.
Backtesting evaluates performance against historical outcomes and cannot guarantee future performance. Changes in underlying conditions can cause model performance to degrade even after favorable backtests; backtesting reduces uncertainty about model quality rather than eliminating the risk of future failure.
Backtesting measures whether a model is fair or unbiased.
Backtesting as typically framed assesses predictive accuracy or calibration against realized outcomes, which is distinct from assessing bias or fairness. Evaluating differential treatment or disparate outcomes across groups generally requires separate analyses and is not, on its own, addressed by a standard backtest.

Best practices

Use genuinely out-of-sample data and guard against look-ahead bias, ensuring that no information unavailable at the prediction time influences the backtested outcomes.
Define acceptance criteria, thresholds, and the review window in advance so that pass or fail conclusions are not determined after seeing the results.
Select metrics appropriate to the specific model type and intended use rather than applying a single generic performance measure across all models.
Document backtesting methodology, data sources, assumptions, and results, and establish clear escalation and remediation paths for exceptions.
Treat backtesting as one input within a broader validation and ongoing monitoring program, not as a substitute for independent validation.
Reassess backtesting results in light of changing conditions, recognizing that historical performance may not persist and that model performance degradation can occur between test cycles.