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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
18 2 0 3

Get_data or get_timeseries?

Hello,


Is there any difference in retrieving historical data from get_data and get_timeseries function? Is one more efficient than the other?


Thanks.

eikoneikon-data-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpython
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

Upvote
Accepted
18k 21 12 20

Hi @victor.koyama

On Eikon Data API(Python):


get_data() function can retrieve any data fields available on "Data Item Browser".

If the field support timeseries, you can also use get_data() with appropriate parameters to get timeseries data from the field as well.

This get_data is equivalent to =TR function on Eikon Excel

Please refer to this tutorial for "Data Item Browser"


get_timeseries() function can retrieve only timeseries data from a default view.

This get_timeseries is similar to =RHistory on Eikon Excel except that you cannot select view of the data. (only default view is accessible from this API)


It is not about which one is more efficient but it is more about where the data you are looking for.

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.

Thanks for the explanation!

There's just one thing I'd like to check: when you mentioned "default view", were you referring to the default fields retrieved by the API (e.g CLOSE, OPEN, HIGH etc)?

Hi @victor.koyama

Yes, but do note that it is per instrument so different instruments may result in the different fields sets.

Click below to post an Idea Post Idea