How to read backtest results: a step-by-step guide

By Oalgo · Last reviewed

To read backtest results, start with the number of trades and the date range, then the drawdown, then the fees. The end result comes last, because one lucky trade can change it.

A backtest report is a set of numbers about simulated trades on past prices. Each number answers a different question, so read them together.

Diagram: five steps in a line. 1, the number of trades and the date range. 2, the drawdown. 3, the fees and slippage. 4, another date range. 5, the end result, last.1 Trades and dates2 The drawdown3 Fees and slippage4 Another date range5 The end result
A reading order for a backtest report.

In what order should you read backtest results?

#
StepLook atAsk
1The number of trades and the date rangeAre there enough trades to say anything? A few trades cannot say much.
2The drawdownCould you stay with the rules through a fall that size?
3Fees and slippageHow much of each trade do the costs take? Rules that trade often pay more of both.
4Another date rangeDo the rules look the same on a different stretch? Then forward test them.
5The end resultHow much of it came from a few trades?

What do the numbers in a backtest report mean?

#
NumberWhat it tells you
TradesHow many times the rules entered and exited.
Win rateThe share of trades that ended above their starting value, after fees and slippage. A trade that ends exactly at its starting value is not a win.
DrawdownThe largest fall, in percent, from a high point of the account value to a later low point. It shows the worst stretch the rules went through. The drawdown recovery calculator shows the gain needed to recover from a fall.
FeesWhat the trades would have cost in fees. They are already taken off each trade. The fee calculator shows what fees cost in and out.
SlippageThe small difference between the price the rules saw and the price the test fills at. The test counts it as a cost.
Sharpe ratioThe average daily change in account value compared with how much those daily changes vary, scaled to a year. A steadier line scores higher.

What does a worked example look like?

#

Two made-up reports. Neither shows a result, only what you can read from the trade count and the date range.

Report AReport B
Number of trades6140
Date range3 weeks18 months
Share of the trades that one trade isAbout 17%Under 1%
What it can showLittle. One trade moves the whole report, and 3 weeks is one kind of market.More. One trade barely moves it, and 18 months spans several kinds of market.

Report A is not ready to read past step 1. Report B is worth reading on, at the drawdown and the fees. The trade count guide explains how many trades it takes.

What does a report not show?

#

A report describes the past. It does not say how the rules will behave on new prices. Rules tuned too closely to one period (overfitting) can look good in a report and behave differently later.

In Oalgo, the Analytics tab of a finished run goes past these numbers. Its Risk view has cards named Did It Hold Up? and Result Concentration.

Read next