Backtesting — almost wordless

November 5, 2010

On Tuesday I gave a talk at the Thalesians entitled “Effective backtesting”.  You can get the annotated slides but below is an almost wordless introduction to backtesting.

Introduction

Figure 1.
When you backtest, you attempt to see how an investment strategy would have worked during some historical period of time.

We can think of backtesting as attempting to build a bridge from the past to the future.  Bridges don’t always work.

Figure 2: Tacoma Narrows Bridge on 1940 November 7 (6 minutes).

The Usual

The typical backtest will yield a plot of results like Figure 3.

Figure 3: Strategy performance relative to the benchmark.
Does the strategy work for the full year?

Does the strategy work for the first quarter?

Doing better

We get deceived into thinking that Figure 3 answers those questions.  It doesn’t.

The effect of the strategy is confounded with other things, most notably the performance of the portfolio that we start with.

Figure 4: Strategy performance and 95% confidence interval for zero effect.

Figure 4 indicates the extent of paths that have no strategy at all, just random trading like the trading done with the strategy.

Figure 5: Strategy performance relative to mean random path.
Figure 5 gives the performance of the strategy that we are really looking for.  It has substantial differences from Figure 3 (the impostor).

Epilogue

Actually, we want to do this whole process several times with different starting portfolios because the effect of the strategy may well depend on the starting portfolio.  This is discussed in the backtesting talk.

Photo in Figure 1 from istockphoto.com.

Subscribe to the Portfolio Probe blog by Email

Leave a Reply

  1. […] Backtesting — almost wordless (posted in 2010) […]

  2. BestHalina 2019-08-01 at 06:14 - Reply

    I see you don’t monetize portfolioprobe.com, don’t waste your traffic, you
    can earn extra bucks every month with new monetization method.
    This is the best adsense alternative for any type of website (they approve all websites),
    for more info simply search in gooogle: murgrabia’s tools

Related posts

  • October 14, 2013

    What good are the skewness and kurtosis of portfolios? Previously The post "Cross-sectional skewness and kurtosis: stocks and portfolios" looked at skewness and kurtosis in portfolios.  The key difference [...]

  • October 7, 2013

    Get data that fit before you fit data. Why verify? Garbage in, garbage out. How to verify The example data used here is daily (adjusted) prices of stocks.  By [...]

  • June 10, 2013

    A few basics about the stable distribution. Previously "The distribution of financial returns made simple" satirized ideas about the statistical distribution of returns, including the stable distribution. Origin As [...]