Here is an algo I modified from another post. Instead of trading a pair, you can specify a list of stocks. If anyone has an idea on how to optimize I would love to hear suggestions.
Here is an algo I modified from another post. Instead of trading a pair, you can specify a list of stocks. If anyone has an idea on how to optimize I would love to hear suggestions.
If the algo is as good as it seems from the performance graph (comparing to benchmark SPY), why not also short when appropriate? Or at least find the metric to "stand asside".
What was the other post with the pair example?
Thanks for the nice illustration.
I hit send too soon - what I mean about that graph is how nicely your performance line matches/mirrors spy. It seems like it is coming close to an ML algo with decent "predictive" qualities.