I would like to get all the events and dividends for a ticker using the eikon api. Let`s consider the ticker SRL.N.
I am using this code below to get events:
EVT_FLDS = [
"TR.CAExDate",
"TR.CACorpActEventType",
"TR.CAAdjustmentFactor",
"TR.CAAdjustmentType",
"TR.CATermsOldShares",
"TR.CATermsNewShares"]
params = {"SDate": '2000-01-01',
"EDate": '2023-01-20',
"CAEventType": "All"}
df_events, _ = ek.get_data(instruments=['SRL.N'], fields=EVT_FLDS, parameters=params)
df_events.dropna()[::-1]
And, I am using this code bellow for dividends:
params = {"SDate": '2000-01-01',
"EDate": '2023-01-20',
"dateType": "ED",
"SORTD": "TR.DivExDate"}
DVD_FLDS = [
'TR.DivExDate',
'TR.DivUnadjustedGross',
'TR.DivPaymentType',
'TR.DivType']
df_div, _ = ek.get_data(instruments=['SRL.N'], fields=DVD_FLDS, parameters=params)
df_div.dropna()[::-1]
However, I am not able to get the "Regular dividends - stock" for dates 12-Nov-2021 and13-May-2021, as it is available at the eikon platform, see figure below: