Hello,
I am trying to retrieve daily data for DE3YT=RR (and other RICs with different maturities stored in the list ric_codes) using get_history from refinitiv Python package.
I am using this code:
import refinitiv.data as rd
for ric_code in ric_codes:
response = rd.get_history(universe=ric_code,
fields=['BID_YIELD', 'ASK_YIELD'],
interval='1D',
start=start_date,
end=end_date)
However, I get the following error: refinitiv.data._errors.RDError: Error code -1 | No data to return, please check errors: ERROR: No successful response.
(TSCC.QS.UserRequestError.90006, The universe does not support the following fields: [BID_YIELD, ASK_YIELD]).
What am I doing wrong?
Thank you for your support!