Eikon not pulling CY data
I'm using the following code. Not able to get Calendar Year data. Works fine with FY as frequency
df_test_3 = ek.get_data('EMR.N', ['TR.Revenue.fperiod' , 'TR.Revenue.periodenddate' , 'TR.Revenue' , 'TR.NetSales' , 'TR.CostofRevenueTotal' , 'TR.GrossProfitMarginIndustrialAndUtilityPct' , 'TR.RevenueperEmployeescalYrEnd'],{'SDate': '20120101' , 'EDate': '20211231' , 'FRQ': 'CY', 'Curn': 'USD' })[0]
Best Answer
-
Hi @Arpit Jain
According to the answer in this thread
'Data Item Brower' (DIB) in Eikon desktop app, the description of the fields mentioned are the data of Fiscal year data. Plus, you can check which parameter is available for each field in the 'Parameters' tab of DIB (CY isn't available on these fields)
Please see the attached image for these fields' descriptions and available parameters in DIB
To get the data you want, I'd suggest you check with Refinitiv Content Helpdesk who have expertise in the content, they will provide you the proper Eikon Excel formula and then you can convert that formula to Python code (which we're happy to help you convert that too if needed)
The helpdesk can be reached using any method below
- Contact Us capability in your Eikon application
- or by calling the Helpdesk number in your country.
- or at https://my.refinitiv.com/content/mytr/en/productsupport.html
0
Answers
-
Hi @Arpit Jain ,
Running this code without the parameters, the latest data is Period End Date 2020-09-30
Below is the code with parameter 'FRQ' set to 'CY' and 'FY' respectively, the result is the same
The 9th row in the first DF ('CY') is the data of this calendar year (2021) but due to the revenue of FY2021 isn't available yet, so the latest revenue data (FY2020) is returned.
Please tell me in case you have any further question
0 -
sorry i couldn't attach the screenshot, please find the output below
FRQ: CY
output
Instrument|Calc Date|Financial Period Absolute|Period End Date|Revenue|Net Sales|Cost of Revenue, Total|Gross Profit Margin, Industrial & Utility, %|Revenue/Employee, FY
0|EMR.N|2012-12-31|FY2012|2012-09-30|24412000000|24412000000|14644000000|40.013108|182111.152555
1|EMR.N|2013-12-31|FY2013|2013-09-30|24669000000|24669000000|14717000000|40.34213|185133.208255
2|EMR.N|2014-12-31|FY2014|2014-09-30|17733000000|17733000000|9973000000|43.760221|143761.653831
3|EMR.N|2015-12-31|FY2015|2015-09-30|16249000000|16249000000|9277000000|42.907256|143860.115095
4|EMR.N|2016-12-31|FY2016|2016-09-30|14522000000|14522000000|8336000000|42.597438|135529.631358
5|EMR.N|2017-12-31|FY2017|2017-09-30|15264000000|15264000000|8865000000|41.92217|169600.0
6|EMR.N|2018-12-31|FY2018|2018-09-30|17408000000|17408000000|9933000000|42.940028|212292.682927
7|EMR.N|2019-12-31|FY2019|2019-09-30|18372000000|18372000000|10555000000|42.548443|209367.521368
8|EMR.N|2020-12-31|FY2020|2020-09-30|16785000000|16785000000|9776000000|41.757522|195743.440233
9|EMR.N|2021-12-31|FY2020|2020-09-30|16785000000|16785000000|9776000000|41.757522|195743.4402330 -
FRQ: FY
output
Instrument|Calc Date|Financial Period Absolute|Period End Date|Revenue|Net Sales|Cost of Revenue, Total|Gross Profit Margin, Industrial & Utility, %|Revenue/Employee, FY
0|EMR.N|2012-11-06|FY2012|2012-09-30|24412000000|24412000000|14644000000|40.013108|182111.152555
1|EMR.N|2013-11-05|FY2013|2013-09-30|24669000000|24669000000|14717000000|40.34213|185133.208255
2|EMR.N|2014-11-04|FY2014|2014-09-30|17733000000|17733000000|9973000000|43.760221|143761.653831
3|EMR.N|2015-11-03|FY2015|2015-09-30|16249000000|16249000000|9277000000|42.907256|143860.115095
4|EMR.N|2016-11-01|FY2016|2016-09-30|14522000000|14522000000|8336000000|42.597438|135529.631358
5|EMR.N|2017-11-07|FY2017|2017-09-30|15264000000|15264000000|8865000000|41.92217|169600.0
6|EMR.N|2018-11-06|FY2018|2018-09-30|17408000000|17408000000|9933000000|42.940028|212292.682927
7|EMR.N|2019-11-05|FY2019|2019-09-30|18372000000|18372000000|10555000000|42.548443|209367.521368
8|EMR.N|2020-11-03|FY2020|2020-09-30|16785000000|16785000000|9776000000|41.757522|195743.4402330 -
Hi Raksina -
For Emerson the FY end in Sep while CY ends in Dec, which means that the result should not be the same. (Apologies for the primary question - have changed Current to Calendar year)
Appreciated your quick response0
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 中文论坛