I was using python3.13, it returned the following error. But when checking DIB for bond futures and interest rate futures, there exists
'CF_BID','CF_ASK','CF_LAST','CF_HIGH'. How can I solve the problem?
ld.get_history( universe='TYU2^2', fields=['CF_BID','CF_ASK','CF_LAST','CF_HIGH'], interval="hourly", start="2022-06-01", end="2022-08-29",)
LDError Traceback (most recent call last)
Cell In[21], line 1
----> 1 ld.get_history(
2 universe='TYU2^2',
3 fields=['CF_BID','CF_ASK','CF_LAST','CF_HIGH'],
4 interval="hourly",
5 start="2022-06-01",
6 end="2022-08-29",
7 )
File c:\Users\Bob\AppData\Local\Programs\Python\Python313\Lib\site-packages\lseg\data_access_layer\get_history_func.py:212, in get_history(universe, fields, interval, start, end, adjustments, count, parameters, header_type)
210 if exceptions and all(exceptions):
211 except_msg = "\n\n".join(exceptions)
--> 212 raise LDError(message=except_msg)
214 if not any({adc_data, hp_data, cust_inst_data}):
215 return DataFrame()
LDError: No data to return, please check errors: ERROR: No successful response.
(TS.Intraday.UserRequestError.90006, The universe does not support the following fields: [CF_BID, CF_ASK, CF_LAST, CF_HIGH])