I'm trying to figure out how to add certain fields. I can get yesterdays open and close using this pipeline:
yesterday_close = USEquityPricing.close.latest
yesterday_open = USEquityPricing.open.latest
pipe = Pipeline(
screen = ...
columns = {
'close': yesterday_close,
'open': yesterday_close
}
)
I'm trying to add these
1. today's open
2. yesterdays s&p500 open and close.
I didn't find anything from a search on the forums, tutorial or api. Any ideas anyone?