Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
200 Day Simple Moving Average Trading

We will only buy when the current market price is less than the 200 day moving average and vice versa.