Python:can i retrieve eikon data just login my eikon and without using Eikon API Proxy

It is ok when I use Eikon API Proxy to run the python
programs, but when I login Ekion and exit Eikon API Proxy, python program
always show “requests.exceptions.HTTPError: <Response [403]>”

I want to know
if I can run my python programs without using Eikon API Proxy and just login my
eikon? And if ok what need I to do?

Best Answer

  • Alex Putkov.1
    Alex Putkov.1 ✭✭✭✭✭
    Answer ✓
    @shaoxuemin
    The version of Eikon you're running includes embedded Eikon API Proxy service, which is launched on the start up of Eikon application. As far as I can see your Eikon account is enabled for using Eikon API Proxy. I don't see any reason why you shouldn't be able to connect to embedded Eikon API Proxy.
    Could you please do the following:
    1. Verify the version of Eikon Python library you use. Better yet use PIP to upgrade to the latest version.
    2. Shutdown standalone Eikon API Proxy if it's running. Start Eikon application. Then run the following two lines of Python code:
    import eikon as ek
    ek.set_app_key(use your app key here)

    What's the result of executing these two lines of code?

Answers