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

运行不满一天的情况下 sys_analyser 报 KeyError #117

Closed
Cuizi7 opened this issue May 4, 2017 · 1 comment
Closed

运行不满一天的情况下 sys_analyser 报 KeyError #117

Cuizi7 opened this issue May 4, 2017 · 1 comment
Assignees

Comments

@Cuizi7
Copy link
Contributor

Cuizi7 commented May 4, 2017

rqalpha/rqalpha/mod/rqalpha_mod_sys_analyser/mod.py line 224

self._total_portfolios 在 PRE_SETTLEMENT 事件前为空 list,此时 224 行会报 KeyError。

@Cuizi7 Cuizi7 changed the title 运行不满一天的情况下时候 sys_analyser 报 KeyError 运行不满一天的情况下 sys_analyser 报 KeyError May 4, 2017
@Cuizi7 Cuizi7 mentioned this issue May 4, 2017
@Cuizi7
Copy link
Contributor Author

Cuizi7 commented May 4, 2017

发了PR #118

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

No branches or pull requests

2 participants