Eikon Data API in Python not working since the last week

import refinitiv.dataplatform.eikon as e
e.set_app_key(xxxxxxxxxxxxxxxxxxxxxxxxxx)
df = e.get_timeseries("LCOZ4")

The above code was able to connect properly till last week but started to get a ReadTimeout error since then. This is happening with many users in our firm


1709040620116.png

Best Answer

  • @ffiitb Thanks for you question and sorry to hear about your issue. I can get the return from the service but we have had some issue with API calls failing intermittently and we are investigating this at the moment. Are you able to run this code in Codebook app (type codebk into Eikon/WS search bar)?

    import refinitiv.data.eikon as ek
    import datetime

    ek.set_app_key('DEFAULT_CODE_BOOK_APP_KEY')
    ek.get_timeseries(['LCOZ4'])

    1709049118718.png

    Please let me know if the API call completes now?

    Also I notice that you are using the slightly older refinitiv.dataplatform.eikon library - could you update to the latest refinitiv.data libraries and retry:

    pip install refinitiv-data

    I hope this can help.

Answers