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")
This capability is not supported yet through Eikon Python API.See similar question asked here earlierhttps://community.developers.refinitiv.com/questions/15487/get-instruments-by-exchange-or-country.html
Thanks, Alex
It helped a lot!
This seems to return the list of peers. Am I missing something?
fields=['TR.RICCode'] instruments = 'SCREEN(U(IN(Peers("{}"))))'.format(RIC_code)