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

Best Answer

Answers

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