I'm not able to download date using this code. This was possible a couple of months ago.
importrefinitiv.data as rd
rd.open_session()
st="JPUSTOSR21M=TTKL"
dt1="2025-07-06"
dt2="2025-07-09"
start_dt = dt1 +"T00:00:00" end_dt = dt2 +"T20:59:59" df =rd.get_history(st, fields=['BID','ASK'], interval="tick", start =start_dt, end = end_dt)
Client encountered an error:
---------------------------------------------------------------------------
RDError Traceback (most recent call last)
Cell In[3], line 3
1 import refinitiv.data as rd
2 rd.open_session()---->
3 rd.get_history(
4 universe='JPUSTOSR21M=TTKL',
5 fields=["BID", "ASK",],
6 interval="tick",
7 start="2025-07-06" +'T00:00:00',
8 end="2025-07-09" +'T20:59:59',
9 )
File ~\AppData\Local\anaconda3\Lib\site-packages\refinitiv\data\_access_layer\get_history_func.py:206, in
get_history(universe, fields, interval, start, end, adjustments, count,
use_field_names_in_headers, parameters)
204 if exceptions and all(exceptions):
205 except_msg = "\n\n".join(exceptions)
--> 206 raise RDError(-1, except_msg)
208 if not any({adc_data, hp_data, cust_inst_data}):
209 return DataFrame()
RDError: Error code -1 | 'dict' object has no attribute 'url'
Please help. Thank you