Back to Community
Help me get_pricing from Pipeline results

I am trying to use the get_pricing() function in Research, and I am having trouble getting the list of assets for it. I want to pass a list of securities after running a pipeline and filtering out securities that have missing fundamentals data. Ultimately, I want to get a spearman correlation between different fundamentals and 3-month returns. I have tried running a pipeline on two dates, but couldn't get to the point where the length of the fundamentals list matched the length of the returns list.

So, how can I use get_pricing using a list of symbols from a pipeline?

Loading notebook preview...
Notebook previews are currently unavailable.
3 responses

you have a multiindex. try stocks.index.get_level_values(1)

with notebook

Loading notebook preview...
Notebook previews are currently unavailable.

Thanks!