Upgrade from Eikon -> Workspace. Learn about programming differences.

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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
18 3 2 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-apipythonrefinitiv-dataplatform-eikonworkspaceworkspace-data-api
icon clock
10 |1500

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

1 Answer

· Write an Answer
Upvote
Accepted
18.2k 21 13 21

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 512.0 KiB each and 1.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.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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