How can I get Fund portfolio holding with python Eikon API?

How can I get Fund portfolio holding with python Eikon API?

Thank you so much.

Best Answer

  • Agnes Terada
    Answer ✓

    ethan.hayashi

    You can use:

    fund, err = ek.get_data(['Portfolio(35530081)'],['TR.PortfolioConstituentName', 'TR.PortfolioWeight'])

    image

    You can find the fund code in the Portfolios & Lists application:image

Answers