Obtain dividend history for single name stock

Please give an example on obtaining single name stock dividend history via python eikon api.

Try to get 0823.HK dividend history and dividend forecast (with exact ex-div dates) for the past 10years

Best Answer

  • bob.lee
    bob.lee LSEG
    Answer ✓

    @kenneth.fung, Below will give you the announced div. but I am not sure about what is the "forecast".

    res, e = ek.get_data('0823.HK', ['TR.DivType','TR.DivExDate','TR.DivCurr','TR.DivUnadjustedGross','TR.DivAdjustedGross'], {'SDate':'2010-01-01', 'EDate':'2021-12-31'})