Dear Developer Community,
I am trying to access ownership data. For each firm-year, I seek PctOfSharesOutHeld by investor type in a particular country.
I need guidance with the required modificaitons in the following code, I think this requires sum of PctOfSharesOutHeld by InvestorType and by InvAddrCountry. Please guide me regarding the implementation.
data, err = ek.get_data(
instruments=['4449.T', 'ADV.OQ', 'WEBO.MI'],
fields=[
'TR.InvestorFullName',
'TR.SharesHeld',
'TR.SharesHeld.calcdate',
'TR.PctOfSharesOutHeld',
'TR.InstrStatTypeValue',
'TR.InvestorType',
'TR.InvestorTypeId',
'TR.CategoryOwnershipPct',
'TR.InvParentType',
'TR.InvInvestmentStyleCode',
'TR.OwnTrnverRating',
'TR.InvAddrCountry',
'TR.InvestorAddrCity'
],
parameters={'Frq':'Y','SDate': '2013-12-31','EDate':'2014-12-31'}
)