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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
4 0 0 1

How can I retrieve Dividend announcement dates?

Hello,

I'm trying to pull dividend announcement data through the eikon.get_data() function. I can pull ex-dividend dates but I'm not sure if there is functionality to pull the dividend announcement dates. I am using the following function:

start_date = '2021-06-01'
end_date = '2021-06-03'
instr, err = ek.get_data('0#.SPX','TR.IndexConstituentRIC')
instr = instr['Constituent RIC'].tolist() 
# Remove duplicates, None and empty strings from the list
instr = list(dict.fromkeys(instr))
instr = list(filter(None, instr))
instr = list(filter(str.strip, instr))
events_df, err = ek.get_data(instr,['TR.EventStartDate','TR.EventType','TR.EventTitle'],
                            {'SDate':start_date, 'EDate':end_date, 'EventType':'EXDIV'})
events_df.rename(columns = {'Event Start Date':'Event Date'}, inplace = True)
events_df = events_df[['Event Date','Instrument','Company Event Type','Event Title']]
events_df['Event Date'] = pd.to_datetime(events_df['Event Date'])
events_df.dropna(subset = ['Event Date'], inplace=True)
events_df

The github resource (https://github.com/Refinitiv-API-Samples/Example.EikonAPI.Python.CompanyEvents/blob/master/CompanyEventsCalendar.ipynb) I was using did not list announcement date as one of the event types. Is it possible to pull this data down?

Ideally I would like the output in the "Event Name" column in Eikon, show below:

Thanks.

eikoneikon-data-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpython
1622759607664.png (194.7 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

Upvotes
Accepted
18k 21 12 20

Hi @pvilleneuve

I think you can use these fields?

You can use "CODECR" app on Eikon to find these fields.


ahs1.jpg (56.6 KiB)
ahs2.jpg (211.6 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.

Click below to post an Idea Post Idea