Eikon fails to return financial data

Hi,

I am trying to get some financials for a list of companies using the Eikon API on Python over a certain time period.

When using the eikon.get function, I get two lists, where the first one is for the successful requests and the other is for the errors. When analysing the errors for a specific row, I get

"'code': 416, 'col': 19, 'message': "Unable to collect data for the field 'TR.REVENUE.DATE' and some specific identifier(s).", 'row': 27410".

Hence, guessing that there is a problem with the timeout (or too many requests in one time), I try the same request for all the error rows and still I obtain many errors. In particular, I don't understand why these errors exists, given that I can find the corresponding data on the desktop app. May you help me with it somehow?

I attach the relevant script

Thanks!

Best Answer

  • Hi @marco.castelluccio.20 , I would suggest upgrading to the RD library, as the eikon one is being deprecated, and preferably using `get_history` functions rather than `get_data`, as the former is formatted by the library itself, and the later is not - by design. Please do let us know if this solves your problem. If it does not, please do not hesitate to provide us with the aaa.csv file used in the code, or an eddited version of it, so we can test with it.

Answers