I am new to using Bloomberg API with wrapper pdblp
and xbbg
. I am trying to extract a list of members from an index, but the results obtained are only in ticker. How am I able to pull this list with the result showing in both ticker and sedol
?
from xbbg import blp
index = "AS21"
index_constituents = blp.bds(index,"INDX_MWEIGHT")