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
1 0 0 1

ek.set_app_key is not working.

Hi,


I am trying to connect to Eikon through python on spyder.


When I typed in this code to connect to Eikon: 1704219540568.png



I get this error:


1704219611111.png



How do I connect to Eikon to download data?


Thanks!

eikon-data-api#product
1704219540568.png (13.3 KiB)
1704219611111.png (81.5 KiB)
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
14.4k 30 5 10

Hi @asiddiqua ,

Could you please check if one of the desktop applications (Eikon Desktop or LSEGWorkspace) must be running when you use the Python library.

If one of the application is up and running, it could be the internal proxy issue as mentioned in this thread, could you please try following this article to get more detail of an error? especially these steps, then please put the output here for further investigation

1704965646729.png



1704965646729.png (251.1 KiB)
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
80k 257 52 75

@asiddiqua

Thank you for reaching out to us.

I have searched "coroutine" on the forum and found several questions regarding this issue on Spyder.

https://community.developers.refinitiv.com/questions/88968/an-asynciofuture-a-coroutine-or-an-awaitable-is-re.html

https://community.developers.refinitiv.com/questions/88895/spyder-515-erroreikon-data-api.html

It may relate to the version of Spyder.

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
1 0 0 1

Hi,


@Jirapongse

Thanks for your response! Unfortunately the new version of Spyder is not approved by the IT team at my work place and therefore I need another solution to the issue. I have tried on Jupyterhub to run the code and attached is the error I get.jupyter.jpg


jupyter.jpg (91.3 KiB)
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.