I have a question about drawing ISIN's of goverment bonds in python. Up to my knowledge the state of the art package for this is "blp" in python which is described as the next iteration of pdblp. What I want to do is to get all the ISIN's of a goverment ticker like "DBR Govt". I know that in Excel BQL exists which would do that. One does not have access to it in python.
Is there a way to do this task with "blp"? I know that "pdblp" has a function "bsrch" which could do it, but I am not able to get access to this package. Or is there another way I can do my task in python with another package?
Thanks for some ideas.
@DS_London, thanks for the prod to look at blp/instruments. I dug into the Bloomberg for Enterprise Open API Services & schemas reference guide (PDF), which is very hard to find. I tried to find it again, but no luck. On page 75 I found the government lookup request and tweaked some of my existing code to get it to work. I had created separate functions for some of this code, but I didn't bother with this test. I thought it might help me to see if there was some way to pull a list of securities from an SRCH, but not sure if I can pull that off.
EDIT: If you are a BBG user, you can find the PDF referenced above at WAPI -> API Developer's Guide -> Reference Guide: Services and Schemas.