Search code examples
pythonbloomberg

Python Bloomberg tia.bbg get mora than 2500 rows returned


Trying to get all the index members from Bloomberg using Python, but it is only returning 2.5k securities.

from tia.bbg import LocalTerminal

resp = LocalTerminal.get_reference_data('LUACTRUU Index','INDX_MEMBERS')
members = resp.as_frame().iloc[0,0]

Anyone can figure it out why?

Thank you.


Solution

  • You can use INDX_MEMBERS2 and INDX_MEMBERS3 to get the constituents 2,501 to 5,000 and 5,001 to 7,500 respectively.