Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Simple algorithm mainly based on Value (and Millenial) approach. (To be imporved)

This algorithm is roughly based on 2 books: Benjamin Graham's "The Intelligent Investor" and Patrick O'Shaughnessy's "Millenial Money". I am hoping to improve it in the nearest future by telling it to sell only in the case if the Sell - Buy of any given stock is positive, by allocating a different weight to each stock based on the market cap and by hopefully including: some of the more complicated HFT strategies and sentiment analysis.

3 responses

Nice looking code! I ran a few backtests, and my biggest question is are you planning on implementing any sort of logic to protect against drawdown?

Delman Woodrum, although Drawdown does somewhat worries me my main focus is on improving the buying/selling functions. I am currently trying to allow my algorithm to buy more than 10 stocks and I also want to make my algorithm to sell stocks ONLY if it has positive return. And so on. In other words, as of right now Drawdown is not my strongest concern. But thanks for the response, I didn't expect to hear from anyone that quickly.

Hi Rasul! Great Algo, do you have a version of it that currently works on pipeline instead of Get_Fundamentals?