@alex
when i run the below codes
start=time.strftime("%Y-%m-%dT01:29:00",time.localtime(time.time())) end=time.strftime("%Y-%m-%dT07:00:00",time.localtime(time.time())) df=ek.get_timeseries(['000001.SZ','600781.SS'],fields=["Open","High","Low","Close","Volume"], start_date = start,end_date =end,interval='minute')
I get the result like this: "ERROR"
('600781.SS', ': ', 'Error: TSINoDataAvailable, ErrorCode: TA-TSINoDataAvailable, Fault: TSIError, Description: No data available for the requested date range', '\n')
and I know the reason is that RIC(600781.SS) is suspended on Nov-23-2017。
Is there a function to calculate fun(600781.SS) 's trading status ,for example I hava a code list like this
lst=['000001.SZ', '000002.SZ', '000004.SZ', '000005.SZ', '000008.SZ', '000009.SZ', '000010.SZ', '000011.SZ', '000012.SZ', '000014.SZ', '000016.SZ', '000017.SZ', '000018.SZ', '000020.SZ', '000021.SZ', '000022.SZ', '000023.SZ', '000025.SZ',]if there is a function to get trading status , I can avoid upper "ERROR"s when I try to get data .Thanks a lot!@ Alex Putkov @ jirapongse.phuriphanvichai