question

Upvotes
16 0 1 4

Python RDP eikon session key and deployment

Hi, for some app I am building, I need to run RDP and eikon queries in Python. I want to be able to deploy my app on trader's (Windows) desktops. How can I handle the session key (see snippet below)? Is there a way via pyRFA e.g.?

Many thanks

Best regards

Grigorios

import eikon as ek
import refinitiv.dataplatform as rdp
rdp.open_desktop_session(MYKEY)
ek.set_app_key(MYKEY)
rdp-apiapp-keysessiondeployment
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.

1 Answer

Upvotes
9.7k 49 38 60

Hi @grigorios.mamalis

You can simplify the above code segment as:

import refinitiv.dataplatform as rdp
from refinitiv.dataplatform import eikon as ek
rdp.open_desktop_session(TRADER_APPKEY)

If you plan to provide your notebook to someone else, you should generate a new AppKey for the trader. You can find instructions from here: https://developers.refinitiv.com/en/api-catalog/eikon/eikon-data-api/quick-start

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