How to get peers list for a given company's RIC

Hi, I want to get the PrimaryInstrument of peers list for a given company's RIC. I use below excel formula to get the peers list. How to get this using python api ?

TR("Peers(#1)","TR.PrimaryInstrument",,,'AAPL.O')

Best Answer

Answers