Risk Harvest← All notes

Notes from the desk

Portfolio backtest: focus on drawdown and recovery

Riskharvest · 2026-11-07

A portfolio backtest simulates rules on clean data, but look-ahead, survivorship and hidden costs often create false confidence.

Portfolio backtest: focus on drawdown and recovery: Risk Harvest desk note

Portfolio backtest is a simulation that runs a set of allocation rules on historical total-return data to show how the portfolio would have performed. The first numbers to examine are the depth of drawdown and the time needed to recover, because they reveal the risk that the headline return can hide.

What is a portfolio backtest?

A portfolio backtest replays holdings, weights, rebalancing logic and sizing decisions against a history of price data that includes dividends. It produces a hypothetical performance series that can be measured for return, volatility, maximum drawdown and risk-adjusted ratios such as the Sharpe ratio. The output is not a track record; it is a model of what would have happened under the exact rules you defined.

The exercise is a hypothesis test. You assume the rule set captures an investment idea, then you see whether the data support that idea. Because the test is built on past information, any flaw in the construction can turn a good idea into a misleading result.

How do you backtest a portfolio?

Start by writing down every rule before you ever look at the results. Define the asset universe, the target allocation (for example a 60/40 mix of equities and bonds), the rebalancing trigger, and the sizing method. This written specification prevents the temptation to tweak the logic after you see the outcome.

Next, gather clean price data that reflects total return, meaning it already adds dividends and corporate actions. The data set must include assets that have disappeared over time; otherwise survivorship bias will inflate performance.

Apply realistic transaction costs and slippage to every trade. Even a modest cost can erode returns enough to change the ranking of competing ideas. Then run the simulation on a fixed schedule – daily, weekly or monthly – applying the rebalancing rule exactly as written.

Finally, compute the standard metrics: cumulative return, volatility, maximum drawdown, recovery time and the Sharpe ratio. Compare these numbers to a simple benchmark such as a 60/40 portfolio that follows the same cost assumptions. The comparison tells you whether the new rule adds value beyond a basic diversified mix.

Common backtesting mistakes

Look-ahead bias occurs when the simulation uses information that would not have been available at the trade date. A classic example is feeding earnings forecasts that were released after the price move into the decision engine. The result looks better than reality because the model acted on future knowledge.

Survivorship bias arises when the data set contains only assets that exist today. Defunct companies or closed funds are omitted, removing the worst performers from the sample and inflating the backtest outcome. Using a full history that includes delisted securities eliminates this distortion.

Ignoring costs and slippage is another frequent error. Transaction fees, bid-ask spreads and market impact are real expenses that accumulate with each rebalance. If the backtest assumes frictionless trading, the reported return will be overstated, especially for strategies that trade frequently.

Overfitting happens when you try many variations of the rule set and keep the version that performed best in the sample period. The selected version captures random noise rather than a repeatable edge. Marcos Lopez de Prado and co-authors have shown that the probability of overfitting rises sharply with the number of tested variations.

A short test horizon can hide the effect of different market regimes. Extending the sample across multiple cycles reduces this risk.

How to read backtest results

Begin with the maximum drawdown figure. It tells you the deepest loss from a peak to a trough and therefore the amount of capital that would have been at risk. Pair that with the recovery time – the length of time required to climb back to the previous peak – to gauge how long the strategy stays underwater.

Next, look at the average return and volatility. High return with high volatility may still be unattractive if the drawdown is severe. The Sharpe ratio combines return and volatility into a single risk-adjusted metric, but it does not capture tail risk, which is why drawdown remains essential.

Benchmark the results against a simple diversified mix that follows the same cost assumptions. If the backtest only modestly outperforms the benchmark while exposing a larger drawdown, the added complexity may not be justified.

Is a good backtest proof a strategy works?

A clean backtest is necessary but not sufficient evidence that a strategy will succeed in live trading. The test proves that the rule set is internally consistent and that it would have survived the historical data under realistic assumptions. It does not guarantee future performance because market dynamics evolve.

The strongest indication comes from out-of-sample validation. Split the data into an in-sample period used to develop the rule and an out-of-sample period used only for evaluation. If the strategy maintains its drawdown profile and risk-adjusted return in the out-of-sample window, confidence increases.

Even with out-of-sample success, you must still monitor live execution for slippage, data quality issues and regime shifts. Treat the backtest as a hypothesis that must be continuously tested, not as a final certification.

Practical test to avoid the common traps

Before you trust any backtest, run a bias-check checklist: confirm that the data set includes delisted assets, verify that no future information entered the rule logic, add a realistic cost model, and record the drawdown and recovery time alongside the headline return. Then repeat the test with a slightly altered look-back window; if the performance collapses, the original result was likely overfit.