Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

运行 get_break_high.py ,报错 #9

Open
skyaiolos opened this issue Aug 13, 2019 · 0 comments
Open

运行 get_break_high.py ,报错 #9

skyaiolos opened this issue Aug 13, 2019 · 0 comments

Comments

@skyaiolos
Copy link

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'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant