Upgrade from Eikon -> Workspace. Learn about programming differences.

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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
63 10 17 19

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-apipythonrefinitiv-dataplatform-eikonworkspaceworkspace-data-api
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

· Write an Answer
Upvotes
Accepted
18.2k 21 13 21

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.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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