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

获取仓位信息会延时 #400

Open
jiangyjsunning opened this issue May 21, 2021 · 1 comment
Open

获取仓位信息会延时 #400

jiangyjsunning opened this issue May 21, 2021 · 1 comment

Comments

@jiangyjsunning
Copy link

使用get_position引用,然后在while循环中wait_update获取信息,发现获取仓位信息会延时,为什么?特别是手动开仓,有时候1分钟还没有同步到仓位信息。
能给个例子看看怎么样才能及时的获取仓位吗?

@WangJieCIFCO
Copy link

我也遇到这种情况,使用api.insert_order()开仓后,Position没有及时更新。

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