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 get only recent few days data?

Hi am using the python API to query recent data with ek.get_data function.

Using the following method to get RIC data, it takes a lot of time and processing to obtain and write in to VBA. So, are there any ways to setup the get_data time for few days?

https://community.developers.refinitiv.com/questions/36138/python-api-get-all-listed-markets.html
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

Upvotes
Accepted
18k 21 12 20

Hi @dsn

The answer in generic is that you can use Data Item Browser to check if the field you are retrieving the data can support date range or not.

To launch Data Item Browser, type "DIB" on Eikon Search Bar and press enter.


For examle:

TR.CLOSEPRICE field supports date range but TR.RICCode does not support date range



ahs.png (124.9 KiB)
ahs1.png (12.8 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