Hi,
I am trying to get the data for 2019 August contract of Brent Crude oil. The code I have written is:
df, ek = e.get_data('LCOQ9^1',
['TR.SETTLEMENTPRICE .date','TR.SETTLEMENTPRICE '], {'SDate':'-3M', 'EDate':'0D' })
The output:
NaN TR.SETTLEMENTPRICE .DATE TR.SETTLEMENTPRICE
0 LCOQ9^1 NaN NaN
I have also used CLOSEPRICE in place of SETTLEMENTPRICE, but still getting NaN.
There is no error message.
I have referred to this post on the forum: