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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 0 0

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-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.

1 Answer

Upvotes
Accepted
18k 21 12 20

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 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea