I am trying to use the Eikon api to download this page from various fund managers. I have the code which works for mutual funds and other funds that have Lipper codes, but it doesnt work when you just use the Company ID (starting with 429... here) . Is there a way to view these equity holdings for funds through the API?
Page i am trying to call:
Code that works with Lipper/RICs but not company id:
fund_manager_id = 'LP40186956'
# Fields
fields = ['TR.FundHoldingRIC', 'TR.FundHoldingName']
# Retrieve the data
holdings_data = ek.get_data(fund_manager_id, fields, {'Endnum':'10'})
print(holdings_data)