stock icon indicating copy to clipboard operation
stock copied to clipboard

运行 get_break_high.py ,报错

Open skyaiolos opened this issue 5 years ago • 0 comments

688321 N微芯 Trading halt 688321 N微芯 Trading halt 000150 Traceback (most recent call last): File "F:/Github_Repositories/stock/get_break_high_low.py", line 168, in loop_all_stocks() File "F:/Github_Repositories/stock/get_break_high_low.py", line 32, in loop_all_stocks if is_break_high(EachStockID, 50, False): File "F:/Github_Repositories/stock/get_break_high_low.py", line 84, in is_break_high turnover = curr_day.iloc[0]['turnover'] File "F:\Anaconda2\lib\site-packages\pandas\core\series.py", line 560, in getitem result = self.index.get_value(self, key) File "F:\Anaconda2\lib\site-packages\pandas\indexes\base.py", line 1925, in get_value raise e1 KeyError: 'turnover'

skyaiolos avatar Aug 13 '19 08:08 skyaiolos