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 0 0 1

Eikon Python API to Reuters Ownership Peers Analysis screen

I would like a code snippet/something similar that would help me get the results of the ownership peer analysis. Specifically, I need the following ability to be ability to control the following

* Stock / RIC identifier

* Type - Only need Hedge Fund, Sovereign Wealth, PE, VC and endowment

By providing these as params, I would like to receive back a pandas dataframe with the info that I see on the ownership peer analysis page. I.e.

Rank, Investor Name, Equity Assets ($M), Total Value Held ($ M), Latest filing Date, Number of stocks held, ETC.

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.

@jordan.x.giebas

Thank you for your participation in the forum.

Is the reply below satisfactory in resolving your query?

If yes, please click the 'Accept' text next to the appropriate reply.


This will guide all community members who have a similar question.

Otherwise please post again offering further insight into your question.


Thanks,

AHS

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
18.2k 21 13 21

Hi @jordan.x.giebas

You can use this sample code to retrieve the information:

rics = ['0005.HK']
fields = ['TR.PeersNumStocksHeld','TR.PeersInvestorName','TR.PeersEquityAssets','TR.PeersTotalValueHeld',
         'TR.PeersLatestFilingDate','TR.PeersTotalValueChange','TR.PeersInvestorType','TR.PeersAddressCity',
         'TR.PeersAddressCountry','TR.PeersAddressRegion']
df,e = ek.get_data(rics, fields)
display(df)

Sample output:


Then you can applied filtering logic on your Python code:

This is an example to get only "Sovereign Wealth Fund" peer type.


ahs.png (62.2 KiB)
ahs2.png (52.9 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.