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 500 | Backend error. 500 Internal Server Error .Please advice

hi,

I'm running the following code:


import pandas as pd
import refinitiv.dataplatform.eikon as ek
import datetime

ek.set_app_key('DEFAULT_CODE_BOOK_APP_KEY')


ek.get_timeseries(list(ric),
start_date=datetime.timedelta(-1),
end_date=datetime.timedelta(0),
interval='minute')

where list(ric) is a list of rics ~2500 elements

I get the following error:
RDPError: Error code 500 | Backend error. 500 Internal Server Error

When i do it for a few assets, it works?
I'm trying to get intraday asset prices. Is this the best way to do that?

Please advice. If possible call me:
thanks

Francis

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.

Upvotes
Accepted
18k 21 12 20
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.

Upvotes
18k 21 12 20

Hi @diarmuid.omahony

The get_timeseries() can handle up to 300 instruments.

Please reduce the size of your list(ric).

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.

Upvotes
1 0 0 2

thanks @chavalit.jintamalit is there any other function that handles more instruments?

Also i'm trying to pull out intraday asset prices to compute intraday asset returns. is this the best way to do it? I saw there is another function StreamingPrices but i'm not sure it works for equity assets.

Appreciate your insights.

Francis

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