Data API freezing

Options
ketan
ketan Newcomer
edited December 2024 in Eikon Data APIs

I have very simple Python code that looks like the below. It has worked for a very long time but today started hanging regardless of what ticker is sent into it. Is this a known issue?

Note: I asked on Refinitiv Live Chat and the person tried it using Codebook on their side, and got a "400 bad request error" after a long wait, similar to what I'm seeing.

import pandas as pd
import refinitiv.dataplatform.eikon as ek
import refinitiv.dataplatform as rdp
import refinitiv.data as rd
ek.set_app_key('MY_KEY_REDACTED')
df, err = ek.get_data(instruments = ['SPY'],fields = ['TR.CLOSEPRICE'])

Answers

  • Jirapongse
    Jirapongse ✭✭✭✭✭

    @ketan

    Thank you for reaching out to us.

    I tested it with the LSEG Data Libaray for Python and it works fine.

    import lseg.data as ld
    ld.open_session(app_key="<app_key>")
    ld.get_data(universe = ['SPY'],fields = ['TR.CLOSEPRICE'])
    
    image.png

    According to the problem statement, it could be the problem on the server side.