Hi, the python code below was used to get the open interest for sugar no11 and no.5, it used to work but has recently stopped working and returns NoneType.
open_int, err = ek.get_data('/SBc1', ['TR.OPENINTEREST.date',
'TR.OPENINTEREST',
{'SDate': '2023-01-01', "EDate": str(datetime.date.today())})
Is there a different code that I need to use?