M&A: Extracting acquirer and target security PermID and ISIN

Hi,
I am extracting Deals for a specific number of firms based on their Company PermID using the following code:
import eikon as ek
import numpy as np
import pandas as pd
import csv as csv
ek.set_app_key('APPKEY')
PermIDs = []
with open('Firm_PermIDs.csv', newline='') as f:
reader = csv.reader(f)
for row in reader:
for x in row:
PermIDs.append(x)
PermIDsString = ', '.join(PermIDs)
criteria = f"SCREEN(U(IN(DEALS)/*UNV:DEALSMNA*/),IN(TR.MNAParticipant(DealPartRole=T),{PermIDsString}),\
BETWEEN(TR.MnAAnnDate,19990101,20230712)/*dt:Date*/, CURN=USD)"
display = ["TR.MnASDCDealNumber",
"TR.MnAAnnDate",
"TR.MnAAcquirorPermId",
"TR.MnADealValue",
"TR.MnAStatus",
"TR.MnAType(Concat='|')",
"TR.MnAAcquiror",
"TR.MnATarget",
"TR.MnAAcquirorNation",
"TR.MnATargetNation",
"TR.MnAPctHeldAtAnnDate",
"TR.MnAPctOfSharesAcquired",
"TR.MnAPctOfSharesOwnedPostMerger",
"TR.MnAFormType"
]
pd.set_option('display.max_columns', None)
pd.set_option('display.max_rows', 300)
deals, er =ek.get_data(criteria,display)
As you can see, I am extracting a number of different deal information including the announcement date, value, status of the deal etc.
I was wondering if it's also possible to obtain the Target's and Acquirer's Security PermID as well as their ISIN codes through the API?
Thank you
Best Answer
-
Hi @flammers ,
Regarding including both DealPartRole T and A, I found how to apply them with CodeCreator in Refinitiv Workspace/Eikon Desktop. After launching the CodeCreator (CodeCr)
- input instrument
- search for the data item (I used Deal Participant which its field is TR.MNAParticipant
- Click on Parameters & Quick Functions tab
- Select Edit on Deal Part Role
- Check the option(s) you would like to include
- Click Done
- The parameter is applied into the field
so when make a parameter to apply with all fields, the code looks like
deals, er =ek.get_data('AAPL.O',display,{'DealPartRole': 'T:A'})
I'd like to try if this works if put in criteria, but I don't have any example of ISINs you've used, could you please provide a few of them for further investigations.
0
Answers
-
Hi @flammers ,
Using Data Item Browser tool, TR.OrganizationID and TR.ISIN fields can be used.
Hope this helps and please let me know in case you have any further questions.
0 -
Thank you.
Unfortunately, that does not work but results in missing values (i.e., missing ISIN) for each of my deals.
Any idea what might the issue be here?
Also, how can I retrieve deals for a given firm, where the firm is either the acquiring company OR the target?
I define the role of the firm in
IN(TR.MNAParticipant(DealPartRole=T)
But haven't found a way yet to include both, Acquirer (A) and Target (T) simultaneously.
Kind regards
0
Categories
- All Categories
- 6 AHS
- 36 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 683 Datastream
- 1.4K DSS
- 613 Eikon COM
- 5.2K Eikon Data APIs
- 10 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- 3 Trading API
- 2.9K Elektron
- 1.4K EMA
- 248 ETA
- 552 WebSocket API
- 37 FX Venues
- 14 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 23 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 275 Open PermID
- 44 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 22 RDMS
- 1.9K Refinitiv Data Platform
- 627 Refinitiv Data Platform Libraries
- 5 LSEG Due Diligence
- 1 LSEG Due Diligence Portal API
- 4 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.2K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 12 World-Check Customer Risk Screener
- 1K World-Check One
- 46 World-Check One Zero Footprint
- 45 Side by Side Integration API
- 2 Test Space
- 3 Thomson One Smart
- 10 TR Knowledge Graph
- 151 Transactions
- 143 REDI API
- 1.8K TREP APIs
- 4 CAT
- 26 DACS Station
- 121 Open DACS
- 1.1K RFA
- 104 UPA
- 191 TREP Infrastructure
- 228 TRKD
- 915 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 84 Workspace SDK
- 11 Element Framework
- 5 Grid
- 18 World-Check Data File
- 1 Yield Book Analytics
- 46 中文论坛