get_timeseries doesn't return data but RIC contains data in the Eikon terminal
Hello,
When I try to get the close for RIC TRDEBFVMc4 for the 13/08/2021 using get_timeseries (see call below), I get an error No data available for the requested date range.
However, when I look at that RIC in the terminal, I can see a data point for the 13/08/2021:
import eikon as ek
df = ek.get_timeseries('TRDEBFVMc4',
start_date = '2021-08-13T00:00:00',
end_date = '2021-08-13T00:00:00',
fields = ['CLOSE'],
interval = 'daily')
Could you please help with that?
Thank you
Best Answer
-
Hi @clangevin
I reported the issue to our EDAPI team, but they were unable to recreate the issue.
I also tried testing again and your same code snippet is working now
I suspect there was some transient issue - however, we will report it to the TimeSeries service team as well.
Can you please confirm your original snippet is working now?
Thanks.
0
Answers
-
Hi @clangevin
I have reported this issue to the EDAPI team, but you can use the following in the meantime:
df = ek.get_timeseries('TRDEBFVMc4',
start_date = '2021-08-13',
end_date = '2021-08-16',
fields = ['CLOSE'],
interval = 'daily')
df.iloc[0]['CLOSE']
#which outputs -> 98.440 -
Thanks Umer but no I cannot use your alternative as there's no way to be sure what the output correspond to (could be any date between the 13th and the 16th). TRDEBFVMc2 works fine so either Eikon Terminal displays data for the 13/08/2021 in the chart which is actually a front-end interporlation and not a value in the database, or get_timeseries somehow cannot access the data point for the 13/08/2021.
Can you check the DB behind that RIC to see if there is indeed a value for the 13/08/2021?
Thanks.
0 -
Hi @clangevin
Thanks, I understand your issue.
I suspect what you have reported is a bug and I am awaiting a response from the EDAPI team.
In the meantime, would the following be a usable workaround?try :
print(df.loc['2021-08-13']['CLOSE'])
except:
print('not found')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 中文论坛