What is so dangerous about over-optimization?
The problem applies to trading because the fact that a given system was able to exploit a market inefficiency in the past does not guarantee that the inefficiency will be present in the future. Usually optimization is great to curve-fit trading systems because what an optimization does is merely to âadjust function parametersâ to find a mathematically sound answer to the problem. The better and tighter the optimization, the more curve-fitted the system will become, this is a reason why neural networks â which are excellent at optimization- tend to fail in successful trading systems as they always curve-fit their data excessively.
So what is curve-fitting anyway ? Simply explained, the term is derived from the fact that any given âcurveâ or data set can be accounted for by a given mathematical function of arbitrary complexity. That is, you can always find a mathematical function which can predict with absolute accuracy all the items of a data set. However, the function may have absolutely no predictive power.
How long should a testing period be if you are serious about building a profitable trading strategy?
Optimizations should be carried out for long periods of time, ideally 9-11 years of data should be used for the process in order to ensure that a large amount of market conditions become available.
So if you want to optimize your system and avoid curve fitting, use a period of at least five years. Using a smaller period will most likely âfitâ your strategy to very specific market conditions and will make it unable to perform correctly as the market changes.
Why should you avoid asymmetric trading signals?
Adding separate criteria for longs and shorts automatically increases the strategyâs degrees of freedom and makes it excessively prone to curve-fitted solutions.