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

回测成交为空报错 #45

Open
noranhe opened this issue Apr 8, 2024 · 0 comments
Open

回测成交为空报错 #45

noranhe opened this issue Apr 8, 2024 · 0 comments

Comments

@noranhe
Copy link
Contributor

noranhe commented Apr 8, 2024

建议在backtesting.py中的calculate_result函数下进行results判断,没有results就输出日志,有results再给self.daily_df赋值

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