#033: 5 PIECES OF ADVICE ON HOW TO REDUCE OVERFITTING
Download FREE resources to boost your trading
SOTR images-05-Emini min.png
SOTR images-06-STU min.png
SOTR images-08-TMI.png
SOTR images-07-SFB min.png
SOTR images-02 v4.png
SOTR images-09-v3.png
SOTR images-03-MSA min.png
SOTR images-01-v3.png
SOTR images-10-Checklist.png
SOTR images-04-Adaptrade builder min.png
Automated trading strategies that work!

© 2015-2018 SystemsOnTheRoad.com. All Rights Reserved  | Contact | About Me | Privacy Policy

  • LinkedIn Social Icon
  • Twitter Social Icon
  • Instagram Social Icon

DISCLAIMER:  Futures trading systems and commodity trading bear a high degree of risk. People can and do lose money.
Hypothetical results have many inherent limitations. Past performance does not guarantee future results. 

 

ACTUAL RESULTS SHOULD BE VIEWED WITH CAUTION, BECAUSE PAST PERFORMANCE IS NOT NECESSARILY INDICATIVE OF FUTURE RESULTS. HYPOTHETICAL PERFORMANCE RESULTS HAVE MANY INHERENT LIMITATIONS, SOME OF WHICH ARE DESCRIBED BELOW. NO REPRESENTATION IS BEING MADE THAT ANY ACCOUNT WILL OR IS LIKELY TO ACHIEVE PROFITS OR LOSSES SIMILAR TO THOSE SHOWN. IN FACT, THERE ARE FREQUENTLY SHARP DIFFERENCES BETWEEN HYPOTHETICAL PERFORMANCE RESULTS AND THE ACTUAL RESULTS SUBSEQUENTLY ACHIEVED BY ANY PARTICULAR TRADING PROGRAM. ONE OF THE LIMITATIONS OF HYPOTHETICAL PERFORMANCE RESULTS IS THAT THEY ARE GENERALLY PREPARED WITH THE BENEFIT OF HINDSIGHT. IN ADDITION, HYPOTHETICAL TRADING DOES NOT INVOLVE FINANCIAL RISK, AND NO HYPOTHETICAL TRADING RECORD CAN COMPLETELY ACCOUNT FOR THE IMPACT OF FINANCIAL RISK IN ACTUAL TRADING. FOR EXAMPLE, THE ABILITY TO WITHSTAND LOSSES OR ADHERE TO A PARTICULAR TRADING PROGRAM IN SPITE OF TRADING LOSSES ARE MATERIAL POINTS WHICH CAN ALSO ADVERSELY AFFECT ACTUAL TRADING RESULTS. THERE ARE NUMEROUS OTHER FACTORS RELATED TO THE MARKETS IN GENERAL OR TO THE IMPLEMENTATION OF ANY SPECIFIC TRADING PROGRAM WHICH CANNOT BE FULLY ACCOUNTED FOR IN THE PREPARATION OF HYPOTHETICAL PERFORMANCE RESULTS AND ALL OF WHICH CAN ADVERSELY AFFECT ACTUAL TRADING RESULTS.

OUR NEW PLACE

I'm a paragraph. Click here to add your own text and edit me. Let your users get to know you.

#033: 5 PIECES OF ADVICE ON HOW TO REDUCE OVERFITTING

Over-optimization (overfitting) is the biggest threat of AOS strategies and also a topic of never ending discussions that don’t have any simple, general, solution. In today’s article, I would like to share with you 5 pieces of advice, how I myself try to minimalize the danger of overfitting.

 

1. Build your systems using 40-50% of all historical data you have at disposal. Leave the rest for robustness tests

 

When I create my own strategies, I follow the rule to save as much data as possible. I try not to waste any more data than necessary to create a system, but leave some of them for robustness testing.Because of this reason, for building a system I use just part of all historical data that are available. Usually, I have 10-12 years of historical data and for the building I use only 3-4 years. This period is different every time I build a new strategy (sometimes I use 2-5 years, sometimes 7-10). The reason is simple - the less data I use for creating the strategy itself, the lower is the risk of overfitting.The rest of the data I leave for my robustness tests. If the strategy looks viable on the small, limited sample of data, I start with the robustness tests using all data. Using this method I can be sure that the strategy is tested on the data that were not used for the building of this strategy - this makes the testing more objective and I reduce the risk of overfitting.Of course, this approach gives me a lot of “garbage”, i.e. lot of potentially interesting strategies that fail robustness tests. But this is part of developing high-quality ATS - just by being patient and disciplined, you are getting an edge over other traders, because the majority of them doesn’t have these qualities and tends to look for shortcuts that lead to finding a strategy faster, however, the quality is questionable.Finding a high-quality and robust strategy needs time and patience. And the less data we use for the strategy building, the lower is the risk of overfitting.

 

2. A good strategy should work in other markets in the same category

 

The ideal strategy is the one that works also in other, different, incoherent markets. Finding such a “gem” is really extremely demanding and I am not far from the truth when I say that even if you search really intensively, it is a success to find 1 strategy per year that meets this criterion.Since we need to diversify our ATS portfolio, for practical reasons we cannot move forward at such a slow pace. And it is sometimes better to “loose the rules” a little bit and accept strategies that pass all robustness tests in other markets in the same category. Finding these strategies is much more realistic, and the frequency of finding a strategy like this one gets to the acceptable pace.For example, I try a strategy created for TF market to work also in ES, YM, EMD and preferably also in NQ, i.e. to work roughly in all markets from an index category. Just as a strategy created for TY market, I want it to perform well in US and FV markets - i.e. to perform well in all markets in the bonds category.Before we move to the next point, let me make one important note - sometimes it happens that during the strategy verification in other markets, you will encounter a situation when the strategy works even better in another market than the one it was created for. In that case, you will be tempted to trade the strategy in this market. Don’t do it. It is just another form of optimization and these small optimizations sum up and lead to one big overfitting. Simply trade the strategy in the market it was created for, or trade it in all markets in the category. Learn to minimize the attempts to pick the best from the range of acceptable results as this already leads to overfitting.

 

3. Never amend a strategy after you have finished robustness tests and chosen the parameters for live trading

 

When the strategy passes all robustness tests and you choose the right parameters for live trading, don’t amend the strategy any more!In the past, I witnessed a behaviour when some traders tried to further “improve” the strategy or slightly tune up the parameters. This is a high grade of overfitting after which, the strategy will almost certainly fail. Yes, you will have nice backtesting equity, but the results from live trading will be one big disappointment.You need to approach the whole optimization process sensitively and at every moment make as little changes as possible. Changing repeatedly the parameters in order to find the best ones leads to significant overfitting. Accept the fact that once you choose the parameters for your live trading, they are the final ones and you should not change them.If you have more than one well-performing set of parameters, you should prefer the average one to the best one. The best results tend to be overfitted. I would either start live trading all sets of available parameters or I would choose the average one.

 

4. Don't skip the paper trading period

 

One of the most simple and the most effective ways how to eliminate potentially over-optimized strategy is the paper trading period. When you complete the strategy, run it for 3 months on the simulated account and watch, if the strategy follows your expectations (some of the traders I know go even for 6 months). You will not get any advantage by skipping this period or by trying to find shortcuts. The only really unseen data (the real out of sample data) are the ones that don’t exist yet. And that is exactly the reason why no final verification test can compete with the paper trading period when we test the strategy on live data. Being impatient doesn’t lead anywhere. The best way to move forward is the patience and discipline.

 

5. Don't use too low time frames (to reduce the “distortion”)

 

According to my experience, I can say that the lower time frame you use to create a strategy, the more distortions are contained in the charts. How does it relate to overfitting? Quite simply. A nice equity on low time frame is rather the result of overfitting than of an edge. Higher time frames contain less distortion, therefore, there is a better assumption that there is a real edge behind the equity that we see.Personally, I use several time frames, but never lower than a 10-minute. For day trading strategies I generally use 15, 30, 45, but even a 60-minute time frames. For my swing strategies, I go even higher - to 80, 120, 140, 180, 200 or even up to 240-minute. I have several strategies across several time frames - which I consider another way of diversification.One final note to time frames - verify your final strategy on several time frames. You might find a time frame which gives you better results than the original one, don’t trade it live - it is another way of over-optimization. Use the time frame you have created the strategy for and in the worst case, choose the one with average results.Everything I have described above seems to be small things, but when you put them together, it is a big step to overfitting reduction.

 

Happy Trading!

 

Tomas

 

 

 

Please reload

Author: Tom Nesnidal (more about me
Join 15 000+
LinkedIn Followers
Join 5 000+
Twitter Followers
Get Social With Tom
  • Black LinkedIn Icon
  • Black Twitter Icon
  • Black Instagram Icon
  • Black RSS Icon
What others are saying

"Tomas is one of the most creative traders I know. He is able to generate unique trading ideas and elegant solutions to system development challenges."

Andrew Swanscott, BetterSystemTrader.com

"Tomas has been a professional trader for more than a decade and I have had the privilege of monitoring his accounts in action since 2006. His systems are performing as some of the best I have ever monitored and executed. I have been in the trading industry since 2002 and worked with many developers from all over the world. Tomas is definitely the one to consider."

Martin Lembak,

Systems Trading Expert,

MFRM, CAIA 

"Tomas is a professional trader, who for the last 10 years has specialized in developing trading systems. We have been tracking his trading systems for about 5 years and they generally show very robust, stable and above average performance. Striker is pleased to work with someone like him - a real professional with enthusiasm and deep knowledge of trading."

William Galwas, President Of Striker Securities, Inc 

"Personal consultation with Tom helped me to re-evaluate the complexity of my robustness testing and optimization processes. Plus, it has helped me with a specific plan on how to take things forward. It has given me some great ideas on how to avoid overfitting and make my testing more robust and provided tips on low hanging fruit in terms of the best markets to trade for intraday/short-term breakouts."

Craig Peters,

semi-advanced trader,

United Kingdom 

"Tom's approach to Automated Trading Strategies design, tests of robustness and portfolio diversification is really unique. He has been a professional trader for many years and the depth of his understanding of Breakout strategies and Market Internals is hard to find elsewhere."

Antonin Fisher,

Hedge Fund Manager,

Czech Republic 

"Tom´s systems and trading approach do really work and can bring good, stable and reasonable returns. I can highly recommend him as a teacher."

David Hruby,

Trader, Czech Republic 

"Tomas is truly an inspiring mentor and great trader with a positive life attitude. He has got very deep understanding of markets, breakout strategies, robustness testing procedures, and Market Internals."

Jan Lesanovsky,

Client, United Kingdom 

"As an experienced trader, I used Tomas´s consultation to get more clarity on best-practise robustness testing procedures, risk management, and portfolio management. He was quickly able to help me refine my current trading and system development approaches, and pointed me to really practical measures that I could implement immediately. I found Tomas to be not only extremely knowledgeable but very helpful and a great teacher. This has given me more confidence in developing robust strategies that work, and I would recommend his mentoring as extremely valuable for any systems trader."

Trevor West,

advanced trader, Australia 

The author of this trading blog has been featured on: