Re:Algorithmic Trading: The Play-at-Home Version
by jsprogrammer on Monday August 10, 2015 @09:16PM
(#10038560)
Obviously it is a problem, but it will get you much further than the original suggestion to select some arbitrary number of days to go back.
Of course that what you want, but how will you find it, and more importantly, how will you know you found it? In a bull market, an "adaptable general algorithm" that makes 10% in a year is statistically indistinguishable from an algorithm that buys and holds S&P500, unless you design your backtests very carefully.