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
5 1 1 1

How can I get dividend data in certain condition using python API?

Now I'd like to retrieve dividend data using eikon python API.

How can I get dividend data in certain condition?

For example, regarding specified equity

1. search condition : Record Date or Ex-Dividend Date satisfies date range from 01/01/2019 to 31/01/2019

2. output data : TR.DivExDate, TR.DivRecordDate,TR.DivUnadjustedGross,TR.DivType

eikoneikon-data-apipythonrefinitiv-dataplatform-eikonworkspaceworkspace-data-apidata
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.

Upvotes
Accepted
39.4k 77 11 27

Here's an example. 'DateType':'ED' specifies that SDate and EDate filters apply to ex-dividend date.

ek.get_data('TRI.N',['TR.DivExDate','TR.DivRecordDate',
                     'TR.DivUnadjustedGross','TR.DivType'], 
            {'SDate':'2019-01-01', 'EDate':'2019-03-31', 'DateType':'ED'})
For more details on how to construct requests with the help of GUI tools (Data Item Browser app in Eikon or Formula Builder wizard in Eikon Excel) refer to this tutorial.
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.

Upvotes
5 1 1 1

Hi, Alex

Thanks.

I could retrieve the data.

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.