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

'StockAccount' object has no attribute 'portfolio' #82

Closed
xashes opened this issue Apr 7, 2017 · 3 comments
Closed

'StockAccount' object has no attribute 'portfolio' #82

xashes opened this issue Apr 7, 2017 · 3 comments
Assignees

Comments

@xashes
Copy link

xashes commented Apr 7, 2017

用限价单运行策略时提示"rqalpha_mod_sys_simulation/signal_broker.py"的第94行有这个错误,不知可否帮着看下是什么问题呢?
另外,34行好像有个typo, mod_config.slippage,打成slppage了。
77行,提示order没有style属性,我改成order.type == ORDER_TYPE.LIMIT (from rqalpha.const import ORDER_TYPE)不知是否可以。

@wh1100717
Copy link
Member

@xashes 感谢您的反馈, --signal 模式还需要一些测试,下一个版本会修复你所提到的相关问题。

@wh1100717 wh1100717 self-assigned this Apr 8, 2017
@wh1100717 wh1100717 added the bug label Apr 8, 2017
@xashes
Copy link
Author

xashes commented Apr 8, 2017

@wh1100717 好的,十分感谢

@wh1100717
Copy link
Member

wh1100717 commented Apr 10, 2017

@xashes

5271be9 c4081fd Commits 中更新了 signal_broker

已经发布的 2.0.9 版本中 signal 模式可用。

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