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).
0
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.ramchandani01 thanks for your response. Any idea why the results are so different from the news app?
0 -
@Alex Putkov.1 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.ramchandani01 @Alex Putkov.1
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
- 685 Datastream
- 1.4K DSS
- 615 Eikon COM
- 5.2K Eikon Data APIs
- 10 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- 3 Trading API
- 2.9K Elektron
- 1.4K EMA
- 252 ETA
- 556 WebSocket API
- 38 FX Venues
- 14 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 23 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 275 Open PermID
- 44 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 22 RDMS
- 1.9K Refinitiv Data Platform
- 650 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
- 104 UPA
- 193 TREP Infrastructure
- 228 TRKD
- 917 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 90 Workspace SDK
- 11 Element Framework
- 5 Grid
- 18 World-Check Data File
- 1 Yield Book Analytics
- 46 中文论坛