Hi Team,
I am receiving the following error when trying to access DPS value from Eikon Data API for my company say 'Metlife':
( Instrument Dividend Per Share Company Market Cap Price Close 0 MET <NA> 3.291184e+10 36.26, [{'code': 221, 'col': 1, 'message': 'The access to field(s) denied.', 'row': 0}])
It's able to retrieve Market Cap and Close price but not the DPS. However, I am able to pull the DPS value easily when using Excel Add-in. My code is as given below:
data = ek.get_data('MET', ['TR.DPS','TR.CompanyMarketCap','TR.PriceClose'])
data
I need to retrieve this data in order to update some files regularly. Could you please help me out with it? Thank you