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'.
- What would be the best approach to handle this.
- Can I use data.current APIs inside pipelines. This will be hard to test in the notebook though.
Thanks,
-Dee