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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 0 0

Getting multiple Revenues Rows for same SEDOL using python API? What changed?

I was trying to download data using the python api using sedols. Some metrics (Like TR.Revenue) had multiple values for the same sedol. There were two other metrics too. So now for a few companies United Breweries I got 250K rows. Has something changed in the API?

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
6.7k 8 6 7

@rachit.aggarwal I am getting a strange result:

df,err = ek.get_data('B1683V6',['TR.Revenue.date','TR.Revenue','TR.RIC'],
                     {'Period':'FY2019','Curn':'USD'})
df

1630424828796.png

If I change the instrument to the RIC: UBBW.BO: I get this

1630424942941.png

which is correct. I have opened a service ticket 10299160 on your behalf to get this behaviour looked into as it is clearly wrong. As a workaround could you convert your SEDOL List to RICs using get_symbology API call and then use those(?), while the content team look at this issue. I hope this can help.


1630424828796.png (35.0 KiB)
1630424942941.png (79.1 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
6.7k 8 6 7

@rachit.aggarwal Please can you paste the API call code so that I can check. Also what version of the library are you using? thx

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.

@jason.ramchandani

This is the line

tr_data, err = ek.get_data( sedols, cols, { "Curn":"USD","Period":"FY2019"})

here cols has TR.Revenue as one of the elements.

version 1.1.2

Click below to post an Idea Post Idea