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

Hello,
What is the most effective way to measure momentum?
I am looking to implement this into a strategy which will only buy when the stock has had a positive momentum for "X" amount of days. I have done a bit of searching, but I cannot find anything that is suitable to my needs.

Thanks,
Cole