question

Upvotes
Accepted
16 4 7 10

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 512.0 KiB each and 1.0 MiB total.

Upvotes
Accepted
17k 80 39 63

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 512.0 KiB each and 1.0 MiB total.

Upvotes
16 4 7 10

Many thanks for the feedback.

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.

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.