Historical Estimates

Hello,
I am trying to get historical mean estimates for several metrics.
For instance, I would like to get the EPSmean estimate from broker on 2012/01/01 for OREP.PA for FY0 to FY5
Which means : I would like to get the consensus estimate that was in place on the 1st of January 2012 for the next 5 fiscal years.
Obviously that's not really what I get.
The code is here :
GMfwd1, err = ek.get_data('OREP.PA',["TR.EPSMean","TR.EPSMean.periodenddate","TR.EBITMean",'TR.RevenueMean',"TR.ROAMean","TR.ROEMean","TR.FCFMean","TR.TotalAssets","TR.MeanPctChg(Period=FY1,WP=60d)"],{"SDate":"2012-01-01","Period":"FY0,FY5"})
GMfwd1.fillna(0,inplace=True)
GMfwd1
3 questions : is it possible to get this data?
if yes how to?
what is it that I am getting?
Here is what I get :
Thanks for your help,
Regards
Best Answer
-
Yes, your request retrieves consensus estimates for fiscal years 2010 - 2015 as of 2012-01-01. Field TR.MeanPctChg is not available as a point in time (or as series), and it ignores the value of SDate parameter. Using this field you can only compare current mean (as of today) to the mean 1 day, 3 days, 7 days etc. ago. This field also does not support a range of fiscal periods as input. The data returned for TR.MeanPctChg in your request represents percent change in EPS mean estimate for FY1 (in this case FY2020) as of the date of the request compared to the EPS mean estimate for FY2020 60 days prior.
For more information on navigating metadata discovery (finding field names and parameters) for use with Eikon Data APIs see tutorial titled "Fundamentals API - Company Tearsheet Estimate" under the Tutorials page for Eikon Data APIs.
0
Answers
-
FY0 refers to the last reported annual fiscal period, which as of 2012-01-01 was FY2010, as the results for 2011 had not been reported yet at that time. When retrieving historical data for financial reports or estimates I recommend using absolute rather than relative notation to specify fiscal period. This is to avoid the kind of confusion you had. E.g. to retrieve estimates for fiscal years 2012 - 2015 use "Period":"FY2012,FY2015". I hope this helps.
0 -
Alex Putkov. Thanks for your answer, it helps.
I just also want to make sure that the data I am getting is really what I want.
In the data I got, dit I really get the consensus estimate that was in place on the 1st of January 2012 for the fiscal years exposed (eg. 2010 to 2015)?
What about the column "Mean Estimate Pct Change", why do I only get the first row?
Thanks
0 -
Thanks a lot for your answer
Last question, is there a way to put a formula so as to automate changing dates.
For instance :
If I put 2012 in a field it would automatically put :
{"SDate":"2012-01-01","Period":"FY2010,FY2015"}
If I put 2010i n a field it would automatically put :
{"SDate":"2010-01-01","Period":"FY2008,FY2012"}
Thanks
0 -
EDIT :
If I put 2012 in a field it would automatically put :
{"SDate":"2012-01-01","Period":"FY2010,FY2015"}
If I put 2010i n a field it would automatically put :
{"SDate":"2010-01-01","Period":"FY2008,FY2013"}
0 -
I'm not sure I understand the challenge. If there's no confusion about what you're requesting and the result you retrieve, you could stick with relative notation for financial periods as in the example in your question that started this thread (Period:FY0,FY5). Or you could use simple arithmetic calculation to derive 2010 - 2015 boundaries for 2012 as input, and then use string concatenation to construct the request parameters. The logic for determining the boundaries and for string concatenation is trivial and obvious, isn't it? Or am I missing something?
0 -
Yes, simple string concatenation did work.
Thank you
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
- 690 Datastream
- 1.4K DSS
- 629 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
- 25 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
- 716 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
- 95 Workspace SDK
- 11 Element Framework
- 5 Grid
- 19 World-Check Data File
- 1 Yield Book Analytics
- 48 中文论坛