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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 0 2

Error code 2504 | UDF Core request failed. Gateway Time-out

hi

i'm getting the following error

Error code 2504 | UDF Core request failed. Gateway Time-out

this is the code

ek.get_timeseries(ric_list,start_date=datetime(2021,3,12,12,0,0),end_date=datetime(2021,3,12,20,0,0),interval='minute',fields='CLOSE')

ric_list has 300 instruments

Please advice

thanks


Francis

eikoneikon-data-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpythonpricing
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 @diarmuid.omahony

From the request, it is 8 hours, which is 480 minutes.

The total data point is 480(minutes) * 300(instruments) * 1(number of cell["CLOSE"])

So it is 144,000 data points.

Please review the technical limitation guideline of the Eikon Data API at https://developers.refinitiv.com/en/api-catalog/eikon/eikon-data-api/documentation

get_timeseries: The current limit value (10-Oct-2019) is 3,000 data points (rows) for interday intervals and 50,000 data points for intraday intervals. This limit applies to the whole request, whatever the number of requested instrument.

In this case, I suggest that you reduce the period or reduce the ric list.

Apart from the limitation in each API call, there are also other technical limitations, please review the guideline.


Please also note that requesting a large amount of data may increase the chance of getting "timeout error" as well.

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