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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
44 5 13 17

Dates in get_data()

Just wanted to confirm my understanding. I am looking to calculate dividend + buyback yields for stock over a few years.

Attached is the get_data call

ek.get_data(['OCBC.SI','STEL.SI','DBSM.SI'], ['TR.DividendYield.period','TR.RepurchaseRetirementOfCommon','TR.CompanyMarketCap','TR.DividendYield'],{'Frq': 'FY', 'SDate': -4,'EDate': 0, 'Curn' : 'SGD', 'CH':'Fd'})[0]

Will this return all the fields with values as of a common date? In this case, it will be the end of the financial year. Is it possible to get the trailing 12 month values as of a particular day : say end of March every year?

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

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

1 Answer

Upvotes
Accepted
18.1k 21 12 20

Hi @rajanraju

You can use "Data Item Browser" and look at "Description" and "Parameters" to see its detail.

To launch "Data Item Browser", type in "DIB" on Eikon search bar and press enter.

Each field may or may not support the period according to your requirements.


If DIB still does not answer your question, you can contact Refinitiv Content Helpdesk at https://my.refinitiv.com/ to get help on content clarification.


ahs.png (205.1 KiB)
ahs2.png (74.1 KiB)
icon clock
10 |1500

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