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

Hello Quantopian
I'm new in trading algos, so this is my first one based on following trend. I use regression to find trend stocks, closing by out of ranking table and closing when SPY is under 200MA, so we change position only at Wednesday every week no matter what happens on market algo does not trade other days and only at first Wednesday of month we open position, other Wednesdays we can only close. Here is results. Wanna hear feedbacks from PROs about algo.

P.S. Algo is LONG only (yet) and there is no trailing stop cause it cuts return and no leverage.

Thank you

(Thank you Andreas Clenow for base ideas about trends)