For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 0 2

How to get dividend yield on monthly frequency using eikon api for python

eikoneikon-data-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikon
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

1 Answer

Upvotes
Accepted
1.7k 2 4 7

Hi @rsharan ,

You may use the code below,

  • 'Frq': 'M' is data frequency (M = month)
  • SDate: the start date of the data
  • EDate: the end date of the data
rics = ['SGRO.L', 'VOD.L', '0005HK']
fields = ['TR.DividendYield', 'TR.DividendYield.date', 'TR.DividendYield.calcdate', 'TR.DividendYield.period']

df, err = ek.get_data(rics, fields, {'Frq': 'M', 'SDate': '2021-01-01','EDate': '2021-08-01'})
df

1630289894380.png

please note that you can check the field description or search for the field you're interested in using 'Data Item Browser' of Eikon Desktop app

1630289844018.png


1630289894380.png (51.5 KiB)
1630289844018.png (153.8 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea