How to use Eikon API to obtain enconomic indicator RIC historical data?

import eikon as ek

ek.set_app_key('***')

eod_cols = [

'CTBTR_1',

'HST_CLOSE2',

]

ric = 'USOIRU=ECI'

res, err = ek.get_data([ric], eod_cols, {'SDate': '2024-05-01', 'EDate': '2024-06-30'})

How to get the historical data of "HST_CLOSE2" or "CTBTR_1" using the above code?

Best Answer