Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Screening using fundamental data

Hello,

I need to create a ranking of the Q500US, based on the following formula:

5-year average Free Cash Flow / Latest Market Cap

And then select the 50 companies with the highest ratio (excluding the first 10 as outliers).

Anybody has an idea how to code this?

Thank you