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

Hello everybody,

I have been working on creating a strategy that trades stocks based on momentum. Right now I need to be able to calculate momentum by subtracting the price 12 minutes ago from the current price. I didn't have a problem doing this calculation with one stock, but now that I added pipeline I am starting to get key errors. Right now I want the algorithm to just print the 12 minute price. Please help.