Rockyzsu / stock

30天掌握量化交易 (持续更新)
http://30daydo.com
BSD 3-Clause "New" or "Revised" License
5.05k stars 1.26k forks source link

运行 get_break_high.py ,报错 #9

Open skyaiolos opened 5 years ago

skyaiolos commented 5 years ago

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'