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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
5 0 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-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpythondata
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.

Upvotes
Accepted
39.2k 75 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 5.0 MiB each and 10.0 MiB total.

Upvotes
5 0 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 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea