Aggregated P/E with RDP or Eikon
Hi, all
The industry page in Workspace/Eikon app is showing aggregated metrics. For example P/E ratio for Real Estate in Emerging Europe is 3.4
Could you pls suggest the python code for this? The field has a help pop-up which shows example, but somehow it always microsoft there
Thx,
Alex
Best Answer
-
Hi @Anufriyev ,
I am not familiar with this application, but I had a look at INDUS, and found the value 17.0 that I clicked on. This sent me to the application AGGR:
I terefore looked for this appication in Workspace and found the Export Ass as Formulas:
I would advise using this screener along with the DIB (if you strugle finding the fields you are after) and this article (showing you how one can use screener in Python).
Let us know if you can find what you're after with the above.
1
Answers
-
Thank you for your research @jonathan.legrand ! I got your point and proceed like this.
0 -
Hi @Anufriyev,
As Jonathan, I tried to find a way to get P/E on same 319 constituents than you with this way:
- In INDUS, set same parameters than you (Real Estate + Emerging Europe) and switch to Constituents
- Export All as Formulas (top right button) to see SCREEN() used to get these constituents:
=@TR("SCREEN(U(IN(Equity(Public,Active,Primary))),TR.TRBCEconSectorCode=60,IN(TR.HQCountryCode,AD,AL,AZ,BA,BG,BM,BY,CY,CZ,EE,FO,GE,GG,GI,GL,HR,HU,IM,JE,LT,LV,MC,MD,ME,MK,MT,PL,RO,RS,RU,SI,SK,SM,TR,UA))","setlabel(TR.CommonName,'Company_Name'"&");setlabel(TR.CompanyMarketCap,'Market_Cap(USD)');setlabel(TR.PricePctChg1D,'1-day_Price_PCT_Change');setlabel(TR.PE,'P/E_(Daily_Time_Series_Ratio)');setlabel(TR.ROEPercentTrailing12M(Period=FI0),'ROE_Common_Equity_%,_TTM(FI0)');setlab"&"el(TR.CurrDividendYieldCommStockPrimaryIssueLFIAnnualized,'Curr_Div_Yield_Comm_Stk_Primary,_LFI,_Annualized');setlabel(TR.TtlDebtToTtlEquityPct(Period=FY0),'Total_Debt_to_Total_Equity,_Percent(FY0)');setlabel(TR.PriceToBVPerShare,'Pric"&"e_To_Book_Value_Per_Share_(Daily_Time_Series_Ratio)');setlabel(TR.IncomeAftTaxMarginpct(Period=FY0),'Income_Aft_Tax_Margin,_%(FY0)');setlabel(TR.PriceToCFPSTrailing12M(Period=FI0),'Price_to_Cash_Flow_Per_Share,_Trailing_12_M(FI0)');set"&"label(TR.BetaFiveYear,'Beta_5_Year')","curn=USD RH=In CH=Fd")
- Simplify it to request Trailing P/E (TR.PE)
=@TR("SCREEN(U(IN(Equity(Public,Active,Primary))),TR.TRBCEconSectorCode=60,IN(TR.HQCountryCode,AD,AL,AZ,BA,BG,BM,BY,CY,CZ,EE,FO,GE,GG,GI,GL,HR,HU,IM,JE,LT,LV,MC,MD,ME,MK,MT,PL,RO,RS,RU,SI,SK,SM,TR,UA))","setlabel(TR.PE,'P/E_(Daily_Time_Series_Ratio')","curn=USD RH=In CH=Fd")
It works fine and I retrieved all 319 constituents with their P/E.
But don't know to compute aggregated P/E value.
- I opened Portfolios & List Manager to create a new list with all 319 rics (name is Test Real Estate) and select it in AGGR app.
- I added TR.PE field and I find 3.466744 (based on 174 Securitites)
whereas the expected value is 3.457017 (based on 319 constituents)
I suppose the result can be refined with different parameters but as Jonathan, I'm not familiar with this APP.
1 -
I totally agree.
My goal was to try to identify the logic on the back-end to reproduce it with the shortest Python script.
0
Categories
- All Categories
- 6 AHS
- 37 Alpha
- 161 App Studio
- 4 Block Chain
- 4 Bot Platform
- 16 Connected Risk APIs
- 47 Data Fusion
- 30 Data Model Discovery
- 608 Datastream
- 1.3K DSS
- 577 Eikon COM
- 4.9K Eikon Data APIs
- 7 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- Trading API
- 2.7K Elektron
- 1.3K EMA
- 236 ETA
- 519 WebSocket API
- 33 FX Venues
- 10 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 20 Messenger Bot
- 2 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 59 Open Calais
- 264 Open PermID
- 39 Entity Search
- 2 Org ID
- PAM
- PAM - Logging
- 8.4K Private Comments
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 20 RDMS
- 1.4K Refinitiv Data Platform
- 367 Refinitiv Data Platform Libraries
- 3 Refinitiv Due Diligence
- LSEG Due Diligence Portal API
- 3 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.1K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 10 World-Check Customer Risk Screener
- 990 World-Check One
- 44 World-Check One Zero Footprint
- 45 Side by Side Integration API
- Test Space
- 3 Thomson One Smart
- 1.2K TR Internal
- Global Hackathon 2015
- 2 Specialists Who Code
- 10 TR Knowledge Graph
- 150 Transactions
- 142 REDI API
- 1.7K TREP APIs
- 4 CAT
- 21 DACS Station
- 117 Open DACS
- 1.1K RFA
- 103 UPA
- 172 TREP Infrastructure
- 224 TRKD
- 886 TRTH
- 5 Velocity Analytics
- 5 Wealth Management Web Services
- 59 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛