Upgrade from Eikon -> Workspace. Learn about programming differences.

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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
3 0 1 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-apipythonworkspacerefinitiv-dataplatform-eikonworkspace-data-apidata
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.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 512.0 KiB each and 1.0 MiB total.

Upvotes
18.2k 21 13 21

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 512.0 KiB each and 1.0 MiB total.

Done, sorry about that

Screenshot is still not available

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.