How to access all portfolios, monitors, lists through RDP API (in python)

I may have overlooked some documentation but ... here is what I do and try to do

  1. I manage my portfolios, monitors and watch lists in WORKSPACE (app, on Windows and Mac OS)
  2. I'd like to access a complete list of all those items in python, that is something like:
    ek.get_data('PORTFOLIO([ ALL ],[PORTFOLIO.CURRENCY, PORTFOLIO.BENCHMARK, ...])
    or
    ek.get_data('LIST([ ALL ])

For the sake of clarity, I'd like information on the portfolios, lists, monitors and not their content, the latter I do already having to maintain a list in python manually.

There is an EXCEL export button in WORKSPACEs' PAL. However, that only dumps

Portfolio Name Portfolio Code Owner Last Modified Date

And not a distinction between portfolio, monitor and list.

Besides, I don't like workarounds with EXCEL.

Any ideas?

Many thanks

Alfred

Best Answer

  • Gurpreet
    Gurpreet admin
    Answer ✓

    Hi @the.swiss,

    As answered in this question, you can get the data for a portfolio using get_data API call, once you know the portfolio code. If this is not what you want, I would recommend that you reach out to Eikon support via Eikon->Help->Contact Us, and describing your requirement in full detail.


Answers