No data available for the requested date range (HCN.TO)
There was no problem yesterday, but a RIC(HCN.TO) gave me this error, today.
[The code I use to retrieve data]
data = ek.get_timeseries(ticker, fields=[field], start_date=start_day, end_date=end_day, interv
al='daily')
[Yesterday Log]
20180905 09:05:29.532 INFO c.m.r.d.MainScheduler runSavePrice_Python - get_time_series retrieving instruments: HCN.TO - from: 2018-08-31, to: 2018-09-05
20180905 09:05:31.076 INFO c.m.r.d.MainScheduler runSavePrice_Python - get_time_series retrieving instruments: EWJ - from: 2018-08-31, to: 2018-09-05
20180905 09:05:31.773 INFO c.m.r.d.MainScheduler runSavePrice_Python - get_time_series retrieving instruments: ENZL.O - from: 2018-08-31, to: 2018-09-05
20180905 09:05:32.276 INFO c.m.r.d.MainScheduler runSavePrice_Python - get_time_series retrieving instruments: EWS - from: 2018-08-31, to: 2018-09-05
20180905 09:05:32.856 INFO c.m.r.d.MainScheduler runSavePrice_Python - get_time_series retrieving instruments: EWY - from: 2018-08-31, to: 2018-09-05
20180905 09:05:33.451 INFO c.m.r.d.MainScheduler runSavePrice_Python - get_time_series retrieving instruments: SHV.O - from: 2018-08-31, to: 2018-09-05
20180905 09:05:35.166 INFO c.m.r.d.MainScheduler runSavePrice_Python - get_time_series retrieving instruments: ACWI.O - from: 2018-08-31, to: 2018-09-05
20180905 09:05:35.909 INFO c.m.r.d.MainScheduler runSavePrice_Python - result: {'EWD': 31.82, 'EWJ': 57.5, 'SHV_O': 110.3, 'HXQ_TO': 56.03, 'EWO': 22.82, 'IWM': 172.25, 'VWO': 41.1, 'EWP': 29.77, 'HXS_TO': 72.3, 'EWS': 23.56, 'HCN_TO': 25.17, 'EWY': 66.76, 'EIRL_K': 46.0, 'EIS': 56.44, 'EWZ': 30.96, 'PGAL_K': 12.29, 'EWK': 19.37, 'EWU': 33.34, 'EWN': 30.77, 'EWI': 27.5, 'EWL': 34.51, 'EWG': 29.89, 'INDA_K': 34.68, 'HXT_TO': 34.12, 'ENZL_O': 48.52, 'DAX_O': 28.2733, 'AAXJ_O': 70.6, 'MCHI_O': 59.99, 'EDEN_K': 66.4525, 'EWA': 22.24, 'EWQ': 30.65, 'ACWI_O': 73.4, 'ENOR_K': 27.509, 'EFNL_K': 40.98}
[Today Log]
get_time_series retrieving instruments: EWA - from: 2018-09-01, to: 2018-09-06
get_time_series retrieving instruments: HCN.TO - from: 2018-09-01, to: 2018-09-06
Error with HCN.TO: No data available for the requested date range
HCN.TO: No data available for the requested date range |
>>> traceback <<<
Traceback (most recent call last):
File "save_price.py", line 149, in get_timeseries
interval='daily')
File "C:\Program Files\Anaconda3\lib\site-packages\eikon\time_series.py", line 183, in get_timeseries
raise EikonError('Error', message=ts_error_messages)
eikon.eikonError.EikonError: Error code Error | HCN.TO: No data available for the requested date range |
>>> end of traceback <<<
Error occurred. Instruments: HCN.TO, Trying Again... (1)
Error with HCN.TO: No data available for the requested date range
Can somebody tell me what causes this error?
I've heard that there might be a permission problem on that RIC.
If anyone can help me out, that would be greatly appreciated.
Thanks in advance.
Best Answer
-
@jungjoon.yoon
According to Toronto Stock Exchange Web site there were no trades on this ETF on Sep 4th and Sep 5th. Since Sep 1 - 3 were non business days, there were no trades on this ETF during the period you requested.
https://web.tmxmoney.com/pricehistory.php?qm_symbol=HCN
The error you got seems appropriate.0
Answers
-
The data is similar to Eikon Chart. For HCN.TO, the latest data available on Eikon Chart is on 2018-08-31.
With other applications, it shows that there is no OHLC data on 2018-09-04 and 2018-09-05.
The problem also happens with Eikon Chart so you can contact Eikon support team via Get Support to verify the data.
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
- 370 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 中文论坛