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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
16 1 2 2

Fund Distribution Retrieve Dividends via Python API

symbol = "SITGX.O"
params = {'SDate': '2015-01-01','EDate': '2018-07-25'}df, err = ek.get_data(symbol, ["TR.DivExDate", "TR.DivRecordDate", "TR.DivPaymentDate", "TR.DivValue", "TR.DivCurr"], params)outStr = df.astype(str)
sys.stdout.write(str(df.T._get_values))
sys.stdout.flush()

This code will return dividends data for any stock symbol f.e. AAPL.O. But when I request dividends history for some fund f.e. SITGX.O it returns NaN values.

But in the Eikon GUI I can see dividends history in the SITGX.O > Events -> Fund Distribution -> Distributions table:

How can I acces it via Python API?

Thanks in advance.

eikoneikon-data-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpythondatafunds
dist-table.png (22.8 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.

1 Answer

Upvote
Accepted
16 1 2 2

Here the answer:

df, err = ek.get_data(symbol, ["TR.FundExDate", "TR.FundDiv"], params)

Will return dividends for Funds.

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.

What is the field to get type of Fund dividend? ...something like"TR.FundDivType"

Click below to post an Idea Post Idea