I came across some factors that seemed interesting on Quantopian. https://www.quantopian.com/help/fundamentals
Wanted to test this on a universe of stocks as provided on Quantopian - Q3000US. But for some reason it doesnt run.
Maybe someone can help me with the code
def make_pipeline():
base_universe = Q3000US()
dy = valuation_ratios.dividend_yield.latest.percentile_between(95,100)
dy_universe = dy(inputs=[USEquityPricing.close],mask=base_universe) <-------------ERROR
longs = dy_universe
securities_to_trade = (longs)
Error says: 'PercentileFilter' object is not callable. Any ideas on where I can get help to test these factors?(https://www.quantopian.com/help/fundamentals)