Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Anyone have any ideas to improve my algo?

My idea was initially to find high volume gainers to long, but my results only turned positive when I shorted them. Furthermore, I sorted the stocks by annualized volatility, which then drastically improved returns further. If anyone has any ideas, I would love to hear them.

1 response

My first look at this strategy tells me its been most likely over optimized due to all the precise variable settings, however I really like the logic that is behind the strategy. This commissions haven't been included in this strategy which really should be included as there isn't a broker that you can short with yet that doesn't charge commissions. After many years of creating algorithms myself in C# mostly I have found that creating a robust exit strategy can make all the difference. What I might try to make this more profitable is have all the shorts that are losses get covered the way they are already in the strategy now but all the shorts that in profit I would give them a trailing stop exit or have them cover when price crosses above a preferred moving average line to allow breathing room for max profit. One caveat will also be to find a reliable broker with shorts to offer.

Just my 2 cents for thought
Wayne H