Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
This algo is not working

The algorithm performance is worse than the index performance. Try yourself when you use it from 2012 to to date. Don't use the data from 2002. That time most of the stocks were low. Use 2012 onwards where actual results come from.

1 response

17 set_commission(commission.PerShare(cost=0.01, min_trade_cost=1.0))

On $1,000.

There are your gains.