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.

Sort by:
1 - 1 of 11
    User: "Agnes Terada"
    Accepted 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