Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Screening stocks based on percentage changes from previous day

Dear Qs,

I am trying to build a stock screener based on the following conditions:
(Current price of the stock - Closing price of the stock the previous day)/Closing price of the stock the previous day > 2%

As per my understanding , the pipeline framework is more suitable for trailing prices( 'USEquityPricing'). But for my requirements, I would need the data from 'data.current'.

  1. What would be the best approach to handle this.
  2. Can I use data.current APIs inside pipelines. This will be hard to test in the notebook though.

Thanks,
-Dee