Refinitiv Data (refinitiv.data as rd) historical data requests return empty dataframe

Hi,

I've been out last week and upon return none of my codes using rd (refinitiv.data) for querying historical data are working anymore. Did any significant changes happen over the previous week to explain this issue?


For example, this snippet of code that was provided to me by your team does not work anymore:

rd.open_session()
var = rd.get_history(
universe=[
'1ICEEUAIFTTLNG',
'1ICEEUAIFTTSHT',
],
start='2023-05-15',
end='2023-05-30',
interval='1D',
)
print(var)

Thanks for the help.

Best Answer

  • YBugnion
    Answer ✓

    Hi,

    Problem solved. Killed refinitiv and restarted it did it. Classic.

Answers

  • Hello @YBugnion

    What Refinitiv Data Library version that you are using? You can check from the following Python statement:

    rd.__version__

    I am testing you code. It works fine in my environment with RD Library version 1.2.0 and 1.3.1.

    code.png

    Please enable the log messages, replicate the issue and share us the log messages. You can see how to enable the library logs from section "2.2.2) Enable logging" of the Eikon Data API and Refinitiv Data Library - Troubleshooting article.

  • hi,

    I get the following error following the update of refinitiv-data package to 1.2.0:

    File "C:\Users\ybugnion\anaconda3\envs\py310\lib\site-packages\refinitiv\data\_fin_coder_layer\get_history_func.py", line 166, in get_history

    raise RDError(-1, except_msg)

    refinitiv.data._errors.RDError: Error code -1 | No data to return, please check errors: ERROR: No successful response.