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

Answers

  • @jungjoon.yoon

    The data is similar to Eikon Chart. For HCN.TO, the latest data available on Eikon Chart is on 2018-08-31.

    image

    With other applications, it shows that there is no OHLC data on 2018-09-04 and 2018-09-05.

    image

    The problem also happens with Eikon Chart so you can contact Eikon support team via Get Support to verify the data.