For example
=@TR(TR(TR(M20,"TR.FiIssuerOrganization","CODE:ISIN"),"TR.CreditRatioPD")
This one retrieves first the issuer organization id from the ISIN of the bond
Then after getting the organization ID, it gets the default probability. All in one go.
So the formula has 2 layers, one for getting org id, then another for getting def prob.
So would you know a way in python, where we can use the result of the first set of codes as the universe of the second?