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

Upvote
Accepted
18 3 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-apipythonrefinitiv-dataplatform-eikonworkspaceworkspace-data-apipeers
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 @tvliet,

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

Upvote
Accepted
39.4k 77 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 512.0 KiB each and 1.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 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.