For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 0 2

How to fetch data in timeseries data for Clc1

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)']

)


eikoneikon-data-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikon
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

1 Answer

Upvotes
Accepted
18k 21 12 20

Hi @rsharan

You can try this code:

ahs.png


ahs.png (31.7 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea