I’m currently using Python and the Refinitiv Data Library to fetch positioning data. When I query Br

Options

I’m currently using Python and the Refinitiv Data Library to fetch positioning data. When I query Brent data using the following code, everything works as expected:

brent_position = rd.get_history(

universe=['3ICELCOMLNG','3ICELCOMSHT', '3ICELCOMSPD', '3ICELCOMNET', '3ICELCOTTSHT', '3ICELCOTTLNG', '3ICELCOTTSPD'],

fields=['TRDPRC_1'],

interval="1D",

start='2011-01-01',

end='2025-01-01'

)

However, when I try to fetch WTI data using a similar setup:

wti_position = rd.get_history(

universe=['3067651MLNG','3067651MSHT', '3067651MSPD', '3067651MNET', '3067651TTSHT', '3067651TTLNG', '3067651TTSPD'],

fields=['TRDPRC_1'],

interval="1D",

start='2011-01-01',

end='2025-01-01'

)

I encounter the following error:

raise RDError(-1, except_msg)

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: [TRDPRC_1])

Could you please advise how I can successfully retrieve this data? Is there an alternative field or approach I should use for these WTI instruments?

Tagged:

Answers