-
Notifications
You must be signed in to change notification settings - Fork 201
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
通过ctpbee下单后,如果通过期货公司客户端成功平仓后,ctpbee的self.center.get_position仍然可以查到平仓前的仓位 #269
Comments
有没有代码 给出一个demo操作例子 |
我是在生产环境,ctpbee版本是1.6.5,self.action.buy_open或self.action.sell_open进行下单,几天后我通过期货公司app客户端成功平仓,但是self.center.get_position还是可以查询到仓位,感觉是有缓存,我重装了ctpbee仍然可以查到 |
我测试下 |
我需要晚上的时候追踪下,他这个7*24小时 好像不会让我成交的样子 没搞懂 |
嗯,感谢,我的场景是程序化交易同时,由于某种原因我手工干预,手工干预的方式是直接通过开户期货公司app操作平仓导致的 |
我复现问题了 确实下完单 不会更新本地仓位了 有点奇怪 |
我明天白天修复下把 |
我需要重新设计下仓位流程 等我哈 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: