Upgrade from Eikon -> Workspace. Learn about programming differences.

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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
12 4 3 5

Eikon Data API in Python or Excel: How to access data of personal portfolios accessible in PORTF, DASH and Portfolio and Lists available in Eikon.

I am using Eikon Data API and would like to retrieve data from personal portfolios and lists which I created in Eikon. Optimally I want to retrieve and modify holdings. In general I would like to access data accessible in PORTF, DASH and Portfolio and Lists in Python or Excel.

#contentpython apiportfolio
icon clock
10 |1500

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

1 Answer

· Write an Answer
Upvotes
Accepted
22.5k 59 14 21

Hi @florian.ruemmelein,

In the Python API, you can use the portfolio name directly in the get_data call like this -

ek.get_data(["Portfolio('portfolio_name')"], fields)


Please see Section 11 - Portfolios and Lists in this document for more details.

icon clock
10 |1500

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

Thanks @Gurpreet .

Is there also the possibility to edit my portfolio (e.g. uploading new holdings)?

Jirapongse avatar image Jirapongse florian.ruemmelein
@florian.ruemmelein

The API can't edit the portfolio.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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