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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvote
Accepted
18 1 2 7

How to get Peers list?

How to reproduce in Python this Excel formula?

=TR("SCREEN(U(IN(Peers("&Company!RIC&"))),IN(TR.GICSSectorCode,"""&'Peer List'!GICSSectorCode"""),CURN=USD)","TR.RICCode")

eikoneikon-data-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpythonpeers
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.

Upvote
Accepted
39.2k 75 11 27

This capability is not supported yet through Eikon Python API.
See similar question asked here earlier
https://community.developers.refinitiv.com/questions/15487/get-instruments-by-exchange-or-country.html

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.

Thanks, Alex

It helped a lot!

Upvotes
1 0 0 2

This seems to return the list of peers. Am I missing something?

fields=['TR.RICCode'] 
instruments = 'SCREEN(U(IN(Peers("{}"))))'.format(RIC_code)
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