how I could retrieve via an API call the following data:
The code snippet below works for the majority of cases, but for some dates (end of month) we are not able to reconcile with what is displayed on the DHOLD holdings page (which also matches the Bloomberg HLDR page).
For example, when using the Eikon API to retrieve data for a specific date in the past, some of the rows returned refer to a different as of date !!
Here, the holding quantity for MU.OQ is displayed as of 30/11/2018 ?!
Please advise,
Eyal
df, err = ek.get_data(
instruments = ['US69374H8815'],
fields = [
'TR.FdInvestorFilingDate',
'TR.FdInvestorPctPortfolio.SecurityOwnedRIC',
'TR.FdInvestorPctPortfolio',
'TR.FdInvestorSharesHeld',
'TR.FdInvestorPctPortfolio.calcdate',
],
parameters = {'SDate': '20181231', 'EndNum':'5000'} )