Hi Joakim,
Thanks.
Regarding overfitting: In my opinion, if you start from a point of stock analysis, economic rationale and financial ideas, you are already two thirds the way there avoiding overfitting. While if you start from a point of view of data mining and technical indicators you'll risk overfitting way more. Both ways can lead to something useful, but if you take ideas and stock picking approaches developed in the 1950s or 1980s and they still work in the 2010s over a multi year period, you're probably on to something. What is the probability that a random factor (or combination of random factors) would have produced good results, let's say a sharp above 1 with the adverse conditions of costs and slippage? Very low I would say, so just the fact that it seems to work based on an idea, is a very big step in the right direction. The other way around, e.g. looking at 1000s of factors and slimming down, will produce a lot of spurious correlations and easily leads to overfitting in my opinion. As I said earlier, both can lead to good results and in the real world you'd need a bit of both, but starting with an idea instead of starting with data is--at least for me-- way better.
With this algorithm I'm very confident that it isn't overfit as it is based on an algorithm, i.e. exact same universe and exact same factors (this one being better risk managed), I made +6 months ago that has shown very good, in-line out of sample results. Since Quantopian seems to believe that every algorithm is overfit from birth, it's up to the algorithm to prove to Quantopian it isn't. If an algorithm after some months true out of sample is showing results that are in line with earlier behavior, I would say it's very unlikely that it was overfit.
Let me know what your thoughts are.
Jade Horse