i'm getting the following error
Error code 2504 | UDF Core request failed. Gateway Time-out
this is the code
ric_list has 300 instruments
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.