Hi team, is there an excel template or python script that I can run to see if my list of companies are having any sorts of corporate actions? It there is, can you please share it with me?
Thanks.
@mo786
Thank you for reaching out to us.
This forum is dedicated to software developers using LSEG APIs. The moderators on this forum do not have deep expertise in every bit of content available through LSEG products, which is required to answer content questions such as this one.
The best resource for content questions is the Helpdesk support team, which can be reached by submitting queries through LSEG Support. The support team will either have the required content expertise ready available or can reach out to relevant content experts to get the answer for you.
You need to ask for the Excel formula, such as =RDP.Data, that can be used to retrieve the required data. Then, we can help you converting that formula to Python code.
Assuming cells in column A contains RICs, the Corporate Action formula is here:
=RDP.Data('Column A', "TR.CACorpActEventType;TR.CACorpActDesc;TR.CAExDate", "SDate=2025-12-31 EDate=TEXT(TODAY(),"yyyy-mm-dd")")
Can you now share me a python script for this please? I would like to see Dates in Row 1 and and Corporate Actions for all companies in the rows as per the date.
Thanks in advance
The code looks like this:
ld.get_data( universe = ['LSEG.L'], fields = "TR.CACorpActEventType;TR.CACorpActDesc;TR.CAExDate", parameters = { 'SDate':'2025-01-01', 'EDate':'2026-02-06' })
You can add other fields into the fields parameter and compare the results from the Workspace Excel.