Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Selling a Stock after MACD met a Threshold 2 Minutes in a Row

Is there any way to do this within handle_data. Is there a better way?