I've been working through the pipeline tutorial and am now onto building my first pipeline. I have this so far:
# Base universe
base_universe = QTradableStocksUS()
# Dollar volume factor
dollar_volume = AverageDollarVolume(
window_length=20,
mask=base_universe)
# High dollar volume filter
filter_dollar_volume = dollar_volume > 50000000
I want to combine this filter with a $ threshold on the last closing price:
latest_close = USEquityPricing.close.latest
filter_minClose = latest_close > 5
How would I restrict the second filter to only selecting stocks from filter_dollar_volume
?