Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
I need help to get the valuation ratio

Hi everyone,

as you can see in my codings, I cannot get the valuation ratio "buy_back_yield." Does anyone know why? I even imported the matching dataset...

2 responses

Hi Daniel,

You have to define it first (and call .latest if you want the latest value at the time) before you can divide it up into deciles. Something like this:

buy_back_yield = Fundamentals.buy_back_yield.latest

Hi Joakim,

thanks a lot.