Eikon Data API not returning data
Hello,
I have problem with accessing some data via Eikon Data API (explained in https://developers.refinitiv.com/en/api-catalog/eikon/eikon-data-api), which I use via R wrapper called eikonapir (https://github.com/ahmedmohamedali/eikonapir).
For some of the RICs calling get_data returns actual data, e.g. get_data('EUR=','ASK'):
Instrument ASK
1 EUR= 1.1842
but for other it return no data at all, e.g. get_data('MCU0','ASK'):
Instrument ASK
1 MCU0 <NA>
Do you know what can be cause of such behaviour and how can we fix it? I thought it may be due to license (MCU0 RIC is under other PE as it is data from LME market), but in normal Quote window in Eikon it works fine.
Regards,
Best Answer
-
Hello @mikolaj.stelmach01 ,
Please try:
df,err = ek.get_data(['MCU0'],'TR.ASKPRICE')
dfFor me the result is:
In order to find the fields that are available via Data Eikon API for instrument, please use Refinitiv Wirkspace or Eikon's tool Data Item Browser, by typing "Data Item Browser" in the search bar. Please see the result of my DIB search:
I hope this helps
0
Answers
-
If you're not subscribing to real-time data from LME, I assume in the Quote app in Eikon you see delayed data (with the RIC "/MCU0"). You can tell by checking the RIC name in the top left corner of the Quote app window and by the value of DSPLY_NAME field, which for delayed RIC should have "/d" at the end: "CASH MCU/d".
Could you try retrieving delayed RIC using get_data method:get_data('/MCU0','ASK')
0 -
Hello,
the combination of the two worked: get_data('/MCU0','TR.AskPrice') - thank you!
Regards,
0 -
If get_data('/MCU0','TR.AskPrice') works, then I would expect get_data('MCU0','TR.AskPrice') - without the "/" in front of the RIC to work as well.
It may be helpful to explain the difference between ASK and TR.AskPrice, and between MCU0 and /MCU0. TR.AskPrice returns ask quote from the historical daily timeseries. During London hours you'll be getting yesterday's close ask with TR.AskPrice. Since TR.AskPrice comes from historical daily timeseries, it returns the same value for real-time and delayed RICs. I.e. get_data('MCU0','TR.AskPrice') and get_data('/MCU0','TR.AskPrice') should always return the same result. ASK comes from streaming datafeed. With real-time RIC MCU0 it returns the latest ask quote, with delayed RIC /MCU0 it returns the latest quote delayed 30 minutes (i.e. the value of the latest quote as of 30 minutes ago). Most exchanges provide delayed data free of per user exchange fees, but there are exceptions. As far as I can see London Metal Exchange is one of those exchanges that makes even delayed data fee liable. Unless you pay the exchange fee, you may not be able to retrieve ASK for /MCU0. But this should apply to the Quote app in Eikon as well. If you're able to view /MCU0 in a Quote app in Eikon, you should also be able to retrieve ASK value using get_data('/MCU0','ASK').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
- 60 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛