Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
SMA strategy of MSFT

Hello,
I am quantopian begginer. I was trying to do simple SMA strategy.
I am wondering how can I make condition to not to sell assets with a loss and how to limit the drawdowns as much as possible ?

Best,
Julek