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.

Hello @florian.ruemmelein

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?


If so please can you click the 'Accept' text next to the appropriate reply? This will guide all community members who have a similar question.

Thanks,


AHS

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,
AHS

1 Answer

· Write an Answer
Upvotes
Accepted
22.1k 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.