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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
3 0 0 4

How to return subcategories for total revenue

I am trying to find the quarterly revenue and I have this:

data, err = ek.get_data(instruments = ['RCKY.O'], fields = ['TR.Turnover.periodenddate','TR.TotalRevenue'], parameters = {'SDate' : 0, 'EDate': -19, 'Period': 'FQ0', 'Frq':'FQ'})

I'm looking for to also return the subcategories of total revenue: wholesale, retail, military, but cannot find them on DIB

Thanks in advance.

eikoneikon-data-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpythondata
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
318 1 0 4

Hi @felicia, are you looking for segmented revenue? If so, you can use:

ek.get_data(['RCKY.O'],['TR.BGS.BusTotalRevenue.fperiod', 'TR.BGS.BusTotalRevenue.segmentName', 'TR.BGS.BusTotalRevenue'], {'Period':'FQ0', 'Frq':'FQ', 'SDate':'0', 'EDate':'-19'})


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
18k 21 12 20

Hi @felicia

I cannot open the attached screenshot. Can you re-post it please?

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.

Done, sorry about that

Screenshot is still not available

Click below to post an Idea Post Idea