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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
45 3 5 10

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-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpython
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
18k 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 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea