Here is the code. It gets the data but without dates. How should I write a query in python.
df, err = ek.get_data(
instruments = ['CLc1'],
fields = ['TR.CLOSEPRICE(Frq=D,SDate=2000-12-31,CALCMETHOD=CLOSE,EDate=-1M)']
)
For a deeper look into our Eikon Data API, look into:
Overview | Quickstart | Documentation | Downloads | Tutorials | Articles
Here is the code. It gets the data but without dates. How should I write a query in python.
df, err = ek.get_data(
instruments = ['CLc1'],
fields = ['TR.CLOSEPRICE(Frq=D,SDate=2000-12-31,CALCMETHOD=CLOSE,EDate=-1M)']
)