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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
7 0 3 2

EIkon API: request time series data for a list of RICs

I am in trouble with request limitation when requesting time-series data for a list of RICs.

I have a list of RICs (around 20,000 RICs), for each of RICs, I want to retrieve data (for example, close price) for a range of 30 days (i have start day, end day and these are different among RICs).

I currently retrieve each RICs step by step (with loop), and I see the notification of daily request limitation.

Here is my question:

Is there any other way to do this? To reduce the amount of requests executed, or It is just one way to wait until tomorrow to continue?

It is possible in Eikon to create a list - put all RICs with different ranges of days in that list and do the request?


eikoneikon-data-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpythontime-seriesapi-limits
1612022152514.png (186.1 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.

1 Answer

Upvote
Accepted
18k 21 12 20

Hi @thi-xuan-dung.nguyen

Please refer to API limitation guideline at https://developers.refinitiv.com/en/api-catalog/eikon/eikon-data-api/documentation

For example, get_timeseries() returns at most 3000 rows for interday requests, which means you can only request 100 RICs x 30 days in one request.


For the list define in Eikon, please refer to https://developers.refinitiv.com/en/article-catalog/article/eikon-data-api-cheat-sheet at 11. Portfolios and Lists

ListData,err = ek.get_data("List('test-list1')",['TR.RIC'])
RICs = ListData['Instrument'].tolist()
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.

thank you for the answer!

Click below to post an Idea Post Idea