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
1 3 4 5

How do I use the Eikon API to get the data in the red box in the screenshot below?

eikoneikon-data-apipythonrefinitiv-dataplatform-eikonworkspaceworkspace-data-api
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.

Hello @yuyang

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?


If so please can you click the 'Accept' text next to the appropriate reply? This will guide all community members who have a similar question.

Thanks,


AHS


@yuyang

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,

-AHS

1 Answer

· Write an Answer
Upvotes
Accepted
10.2k 18 6 9

@yuyang So im not exactly sure which data in the redbox you are referring to but the starmine stuff is easily available using:

df,err = ek.get_data(["AAPL.O"], ['TR.RelValEvSalesComponent','TR.RelValEvEbitdaComponent','TR.RelValPeComponent','TR.RelValPriceCashFlowComponent','TR.RelValPriceBookComponent','TR.RelValDividendYieldComponent','TR.RelValEVSalesNTM','TR.RelValEVEBITDANTM','TR.RelValPENTM','TR.RelValPriceCashFlowNTM','TR.RelValPriceBookNTM','TR.RelValDividendYieldNTM','TR.TRBCEconomicSector','TR.TRBCIndustryGroup'])

df.transpose()

The industry average numbers are actually calculated items which you would also need to calculate using members of the TRBC Economic Sector and Industry Group respectively. I hope this can help.


1621894532900.png (130.2 KiB)
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.

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.