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

如何知道调用self.action.buy_open等下单操作是否完成成交? #229

Closed
ganyu21 opened this issue Feb 14, 2023 · 1 comment
Closed

Comments

@ganyu21
Copy link

ganyu21 commented Feb 14, 2023

是在on_trade接收回调么? 似乎在实盘没有收到。
另外还有其它方式可以轮询订单状态么?

@somewheve
Copy link
Member

on_trade是成交才回推送 你可以看下on_order的回调

建议看下文档

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

2 participants