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:

image

How can I acces it via Python API?

Thanks in advance.

Best Answer

  • dlevashov
    dlevashov Newcomer
    Answer ✓

    Here the answer:

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

    Will return dividends for Funds.

Answers