Latest version of Eikon Data APi fails to retrieve news headlines when using escape characters
One of my clients is trying to use Eikon Data API to retrieve the news headlines from these keywords he uses on Eikon news app, "R:PGA190 AND "STRAITS" AND "JET" AND ( "SELLS" OR "BUYS" )". However, when use this news keyword on API, it doesn't return the expected results on my machine with Eikon Data API v1.1.8. On the other hand, my colleague can get the data with exact keywords / code, but he's on v.1.1.7. Can somebody advise on this change? (I tried to use the raw string, and also escaped it, no difference.) Please refer to the attached screenshots for more info. I intentionally want to use "JET" with double quotes instead of JET without double quotes (for JET/Kerosene keyword search). In case I use wrong escapes, please let me know. Thanks in advance.
Best Answer
-
This is a known issue with the latest versions of EDAPI lib and EDAPI module in RDP Lib. The issue is being fixed, and the fix will be included in a future version of EDAPI lib and EDAPI module in RDP Lib. In the meantime the only workaround is to rollback to an earlier version of EDAPI lib that doesn't have the problem (EDAPI v1.1.7 or below).
1
Answers
-
@witoon.charoensakworakul Hi I am checking with the dev team as this should yield the correct news set but it does not:
q1 ="\""+ "Source:PLTS" + " AND " + "\"STRAITS\"" + " AND " + "\"JET\"" + " AND " + "(" + "\"BUYS\"" + " OR " + "\"SELLS\"" +")"+"\""
print(q1)
df = ek.get_news_headlines(q1,count=100)
df0 -
@jason.ramchandani thanks for your response. Any idea why the results are so different from the news app?
0 -
@Alex Putkov. Noted with thanks. Where I can find more info about release schedule of EDAPI?
0 -
@witoon.charoensakworakul So as per Alex's comment - if you roll back to 1.1.7 the code I posted should work fine.
0 -
Here's the JIRA for this issue:
https://jira.refinitiv.com/browse/EAPI-12730 -
Noted. Thank you very much to you all. @jason.ramchandani @Alex Putkov.
0
Categories
- All Categories
- 6 AHS
- 38 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 中文论坛