Minimum number of trades required for backtesting results to be trusted

Discussion in 'Strategy Building' started by helpme_please, Mar 2, 2021.

  1. Previously, I asked a question about number of years of backtest required for results to be trusted. On second thoughts, I think that was the wrong question. I think the right question would be what is the minimum number of trades in a backtest, not number of years, for backtest results to be trusted. Number of years should vary according to time-frame while number of trades taken should not.

    Any guidelines for the the minimum number of trades in a backtest required from the elitetraders here? Time span over testing must include both bull and bear markets, otherwise any number of trades is invalid.

    Thank you.
     
    Last edited: Mar 2, 2021
  2. cafeole

    cafeole

    I just finished a youtube series on algo trading where the presenter says he uses about 18k as the number of trades he likes to see on the backtest.
     
  3. fan27

    fan27

    Sample size can be misleading. I can take thousands of temperature readings in Alaska during the summer and get an average, which will tell me little about the average temperature over the course of the year.
     
    shuraver, tayte, RedDuke and 4 others like this.
  4. I agree. Backtesting must cover both bull and bear market periods for results to be valid.
     
    murray t turtle and comagnum like this.
  5. 18k is hard to achieve if time frame is daily. Possible for minute timeframe but I doubt so for daily timeframe.
     
    murray t turtle and TooEffingOld like this.
  6. cafeole

    cafeole

    The presenter trades forex intraday. The point he was making is to do what it takes to get a statistical significant backtest. He recommends running the backtest over many symbols over at least 10 years to get this.
     
  7. cafeole

    cafeole

  8. lol - you'd never get a working strategy if you wait for 18k trades.

    There are standard ways of looking at statistical significance and they are mostly applicable to systematic trading. Obviously, there are issues to be mindful of, such as curve fits, family-wise errors etc, but that covers any case when you are working with data.
     
    eternaldelight and sculptor66 like this.
  9. hilmy83

    hilmy83

    whenever i have an idea, i test it on 3 scenarios, bullish days, bearish days, and doji days. Since i daytrade, that means 2-4 setups a day. That usually result in about 30-40 trades a month. Take the 3 scenarios into account, it's little over 100 trades. If my ev is +, then i run with it live.
     
    yc47ib and Poljot like this.
  10. ValeryN

    ValeryN

    Lots of good answers but you probably want a practical examples from someone who actually does that.

    I personally wouldn't trade a strategy that has less than 1-5k trades on dailies per 5 year interval and survives multiple market types, to cover which you would need at least 4 of those.

    Normally a single strategy won't produce same return over different market conditions but you don't want risk to exceed what you're comfortable with in any scenario.

    That's assuming you're not using too many degrees of freedom or magic numbers.

    Robust strategies normally have risk reward peak around your chosen values, gradually degrading the further away you get from it. If you have only one single parameter value that works and otherwise expectancy is negative that is a sure sign of overfitting.

    Val
     
    #10     Mar 2, 2021