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")
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
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")
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
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
This seems to return the list of peers. Am I missing something?
fields=['TR.RICCode'] instruments = 'SCREEN(U(IN(Peers("{}"))))'.format(RIC_code)