HOW LONG PROBACKTEST PERIOD?!

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #33824 quote
    ALE
    Moderator
    Master

    Markets change, how do you choose the historical period to test a strategy?

    #33828 quote
    Maz
    Participant
    Veteran

    General rule of thumb:

    The higher the time-frame, the longer the back test. Depends on how long you expect to run the algo. What would be nice is to do some benchmark testing and get some standards, ie:

    • >= H4 :: 10 years
    • >= M15 < H4 :: 5 years
    • <M15 :: 2 years

    You could argue that one complete boom-bust cycle would be prudent. I think that idea is good for H1 and above, especially above H4 systems. But because technology moves on at an ever increasing pace, trading systems themselves as well as the instruments available at the beginning of the last boom-bust cycle are so different to what we have now. For the smaller time frames (particularly market micro-structure, S1 and below) you are looking at different kinds of price action dynamic shits than larger time frames).

    #33829 quote
    Maz
    Participant
    Veteran

    Same goes for non temporal systems

    #33832 quote
    Maz
    Participant
    Veteran

    …and ideally you want to capture huge macroeconomic events or flash crashes to stress test your system. Referendums; presidential elections; central bank announcements; interest rate changes; macroeconomic announcements and disasters – they mess up highly technical systems; especially one that run on higher time frames which is why you need to go back at least enough to capture performance during these events.

    Also note that backtests don’t simulate slippage; execution errors; liquidity problems; shifts in spread; market closures and so on. A better backtest framework would incorporate simulated slippage during high volatility, changes of spread, the odd trade rejection etc etc!

    #33844 quote
    ALE
    Moderator
    Master

    Thanks Maz,
    So the rule that says “Strategy must have at least one 10-year history” is not valid for all time frames, and it also seems to be too static if one takes into account the technological changes in place. Can we consider sleepage and macroeconomic data/events  neutral event? I mean we have 50% of probability, it’s correct?

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.

HOW LONG PROBACKTEST PERIOD?!


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
ALE @aleale Moderator
Summary

This topic contains 4 replies,
has 2 voices, and was last updated by ALE
8 years, 10 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 04/28/2017
Status: Active
Attachments: No files
Logo Logo
Loading...