For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
13 2 2 6

Returned revenues via a Python script is different from the ones on the web

Hello,

I was trying to look for some Revenue for a set of companies via a Python script and I found that the API is returning NaN values and if I look for them via Web I find the values.

ek.get_data("104297",['TR.Revenue','TR.CommonName'])
(   Instrument  Total Revenue Company Common Name
 0      104297            NaN  Siantar Top Tbk PT,
 [{'code': 416,
   'col': 1,
   'message': "Unable to collect data for the field 'TR.TotalRevenue' and some specific identifier(s).",
   'row': 0}])

Thank you in advance

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.

Upvote
Accepted
18k 21 12 20

Hi @miriam.benito

You can look up for RIC code first.


ric.png (6.5 KiB)
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.

Upvote
18k 21 12 20

Hi @miriam.benito

Try "STTP.JK" identifier.


sttpjk.jpg (89.0 KiB)
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
13 2 2 6

Hi @chavalit.jintamalit,

There is no way to look for the orgId?

Thanks for the help

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
13 2 2 6

Hi @chavalit.jintamalit,

It was my first idea, thanks for the help!

Have a nice day!

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