Hi,
I am trying to access the commitment of traders report for a market. The code I have used is follows:
data, err = e.get_data(["SB"], ["TR.COTR"],
{'SDate':str(dt.datetime.now().date()-dt.timedelta(days=14)),'EDate':str(dt.datetime.now().date()) })
The Error message is as follows:
'message': 'The formula must contain at least one field or function.',
I tried changing the TR.COTR with COTR and got the following message:
'message': "Error: Field 'COTR' was not found in response for the instrument 'SB'",
Please let me know how this data can be accessed. Thank you.