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
@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'})