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
1 1 3 5

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-apipythonrefinitiv-dataplatform-eikonworkspaceworkspace-data-apipricing
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.

Hello @diarmuid.omahony,

Thank you for your participation in the forum.

Is the reply below satisfactory in resolving your query?

If yes, please click the 'Accept' text next to the appropriate reply. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question.

Thanks,

-AHS

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.
Thanks,
AHS

1 Answer

· Write an Answer
Upvotes
Accepted
18.2k 21 13 21

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 512.0 KiB each and 1.0 MiB total.

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.