In this tutorial, we cover how to begin realistically building a trading strategy. In the previous tutorials, we showed how we might go about finding a single alpha factor to trade stocks on, and then trading off of it, but this is almost certainly never going to be enough, so, here, we cover the steps and theory to building an optimal trading strategy. https://pythonprogramming.net https://twitter.com/sentdex https://www.facebook.com/pythonprogramming.net/ https://plus.google.com/+sentdex
Visibility: 2021
Duration: 10m 37s
Rating: 27
'shorts': (sentiment_factor <= -2) <--- minus is missing in your code