Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Pipeline Help with Recreating ETF

http://www.proshares.com/funds/nobl.html

I'm trying to recreate this ETF for one of my strategies. The short history and limited volume are getting in the way of testing it over the long term.

I'm fairly new to programming so I'm having trouble putting my thoughts into code. The conditions for the pipeline are pretty straight forward; companies must have increased dividends for the last 25 years and be in the SP500.

I think I've identified the fundamentals data that I could use, dps_growth and mkt_cap. I could filter out companies that don't have min(dps_growth) > 0 over the last 25 years(or however far back the data will allow) and aren't in mkt_cap.top(500). Beyond that I'm lost as to how to implement it.

Any suggestions?