Closed rgkimball closed 3 years ago
need to use blp.bds
for this
My mistake, thanks!
@alpha-xone This is a bit strange - is the request somehow capped at 2,500 securities? RAY should be returning 2,997.
members = blp.bds('RAY Index', 'INDX_MEMBERS')
members.shape # (2500, 1)
it's possible - can confirm with helpdesk
@rgkimball - please note that all "INDX_MEMBERS" requests are capped at 2500 securities. For larger indices, you can use "INDX_MEMBERS2" and "INDX_MEMBERS3" to retrieve 2500-5000 and 5000-7500 respectively.
@David-Woroniuk Wasn't aware but that's a great tip, thank you!
Hello!
I am trying to pull a list of index members but some of the Dataframe standardization operations in the bdp function do not function correctly when there are duplicate entries in the index:
Result (when trying to unstack): ValueError: Index contains duplicate entries, cannot reshape
res.head()
at error: