NACE code for Loans

Hi,
I am trying to replicate in the codebook a Screener search for all the Loans in EU27+US in 2024 and retrieve the NACE code of the borrower to then aggregate the loan amount at that level.
There should be some mistake in my formula, as I fail to retrieve any populated value for the fields 'Use of proceeds' and 'Total facility amount'.
I built the formula starting from the Excel formula downloaded from the Screener App.
Here is the code:
rd.open_session()
criteria = "SCREEN(U(IN(DEALS)/UNV:DEALSLOAN/), BETWEEN(TR.NIIssueDate,20240101,20241231)/dt:Date/, IN(TR.NIIssuerDomicileNation,""US"",""BG"",""HR"",""CZ"",""EE"",""HU"",""LV"",""LT"",""PL"",""RO"",""SK"",""SI"",""AT"",""BE"",""CY"",""DK"",""FI"",""FR"",""DE"",""GR"",""IE"",""IT"",""LU"",""MT"",""NL"",""PT"",""ES"",""SE""), CURN=EUR)"
display = ["TR.NIIssuerPermID","TR.LNDealFacilityId","TR.LNUseOfProceeds(Concat='|')", "TR.LNTotalFacilityAmount(Scale=6)","TR.LNTrancheType","TR.LNTotalFacilityAmount","TR.LNTrancheAmount","TR.NACEClassification"]
df = rd.get_data(criteria, display)
print(df.head())
#this part is to retrieve the Nace code of borrowers starting from the PermIDs
ids = df["Issuer/Borrower PermID"]
new_ids = [f'{x}' for x in ids]
new_ids_clean = [x for x in new_ids if x != '<NA>' and x != ""]
df_detail = rd.get_data(new_ids_clean, ['TR.CommonName','TR.CompanyMarketCap(Scale=6)','TR.ExchangeName','TR.TRBCBusinessSector',"TR.NACEClassification"])
df_detail.head()
Answers
-
Thank you for reaching out to us.
You may need to contact the helpdesk team via MyAccount to verify the screener formula.
I found that the TR.NIIssueDate and TR.NIIssuerDomicileNation fields are in the Deals Equity asset class while the TR.LNUseOfProceeds and TR.LNTotalFacilityAmount fields are in the Deals Loans asset class.
I am not sure if they can be mixed. Please contact the helpdesk team to confirm this kind of usage.
0 -
Thank you Jirapongse.
Actually the helpdesk pointed me to the community, so I don't know whether opening a new ticket may be of any help.
To give you more context, the "criteria" field has been copied from the Screener Excel formula. The issue is that I am not able to retrieve any information for the fields in the "display" list at the moment.
Thanks
0 -
Can you test that screener formula on the Excel?
I need to check if the Excel can retreive data with that formula.
0
Categories
- All Categories
- 3 Polls
- 6 AHS
- 36 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 689 Datastream
- 1.4K DSS
- 627 Eikon COM
- 5.2K Eikon Data APIs
- 11 Electronic Trading
- 1 Generic FIX
- 7 Local Bank Node API
- 3 Trading API
- 2.9K Elektron
- 1.4K EMA
- 255 ETA
- 559 WebSocket API
- 39 FX Venues
- 15 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 24 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 279 Open PermID
- 45 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 23 RDMS
- 2K Refinitiv Data Platform
- 708 Refinitiv Data Platform Libraries
- 4 LSEG Due Diligence
- 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
- 27 DACS Station
- 121 Open DACS
- 1.1K RFA
- 106 UPA
- 194 TREP Infrastructure
- 229 TRKD
- 918 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 96 Workspace SDK
- 11 Element Framework
- 5 Grid
- 19 World-Check Data File
- 1 Yield Book Analytics
- 48 中文论坛