Descrepancies found in Price Targets returned from get_data query
I have been using Reuters Python API to request brokerage recommendation and price target data for certain stocks.
I need the data to be correct, so I have been cross referencing some of the results returned from the API with the Reuterts terminal and brokerage notes, the original source of the recommendations.
I have found multiple discrepancies with price targets returned from the API, with issues including:
1. Price targets assigned to brokerages without a price target
2. Price targets differ between terminal and API
3. Price target from API is incorrect
For example, I run the following get_data query requesting fields including brokerage name and price target for symbol 'NSC':
fields = [
'TR.RecLabelEstBrokerName',
'TR.TPEstvalue', 'TR.TPEstValue.date',
'TR.BrkRecLabel', 'TR.BrkRecLabel.analystname',
'TR.RecEstValue'
]
data = ek.get_data(instruments=['NSC'], fields=fields, raw_output=True)
print(data)
At the time of posting, the following data is returned for Evercore, Argus, and Wells Fargo:
The correct price targets for these brokerages should be:
1. Evercore: $278
2. Wells Fargo: $340
3. Argus: No PT
Note: the price target for Wells Fargo is both incorrect and different from the terminal. Also, it is suspiciously the correct price target for Evercore...
The correct data is properly displayed in the Reuters terminal but NOT the API.
When reaching out to Reuters Support, they confirmed that the correct data was displayed in Eikon, so I'm pretty sure this is an API issue.
Is this a backend data issue that can be resolved?
Best Answer
-
You need to use the TR.TPEstvalue.brokername and TR.TPEstvalue.analystname fields instead.
fields = ['TR.TPEstvalue.brokername',
'TR.TPEstvalue',
'TR.TPEstValue.date',
'TR.TPEstvalue.analystname']
data,err = ek.get_data(instruments=['NSC'], fields=fields, raw_output=False)
dataThe output is:
You can use the Data Item Browser tool to check all available sub-fields of the TR.TPEstvalue field.
0
Categories
- All Categories
- 6 AHS
- 39 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 中文论坛