like mentioned in the headline, i want to get a list or array of all mergers & acquisition by calling the company name in Python.
Have already used to get the data by ISIN and company name for Apple Inc.
Want to get following information about a the mergers & acquisiton:
From my finding, you can use a screener to get a list of all Mergers & Acquisitions. However, it is better to use PermID for the acquirer.
You can get the PermID from the ISIN by using the following code.
data = ek.get_symbology(["US0378331005"], from_symbol_type="ISIN", to_symbol_type="OAPermID", bestMatch=True)
The PermID of US0378331005 is 4295905573.
Next, the screener formula looks like the following.
df, err = ek.get_data("SCREEN(U(IN(DEALS)),Contains(TR.MnAAcquirorPermId,'4295905573'))", ["TR.MnAAnnDate", "TR.MnATarget", "TR.MnATargetPermId", "TR.MnATargetMajorInd", "TR.MnATargetNation", "TR.MnATargetTRBCIndGrp", "TR.MnAAcquiror", "TR.MnAAcquirorPermId", "TR.MnAAcquirorNation", "TR.MnAAcquirorMajorInd", "TR.MnAAcquirorTRBCIndGrp" ])
The output is:
You can use the Excel Formula Builder or Data Item Browser to find appropriate fields.
If you have any further questions regarding the screener formula, please directly contact the Eikon or Workspace support team via MyRefinitv.