For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
18 2 0 5

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.

eikoneikon-data-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpythonfunds
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
Accepted
318 1 0 4

Hi @ethan.hayashi

You can use:

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

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


output.jpg (50.3 KiB)
code.jpg (54.3 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Is there a way to specify a particular date? or force it to pull the latest?

Upvote
18 2 0 5

Hi @Anges Terada

Thank you so much. I try it.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea