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

Answers

  • Hi @diarmuid.omahony

    The get_timeseries() can handle up to 300 instruments.

    Please reduce the size of your list(ric).

  • 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