如何通过IB API获取打开订单或填充订单的订单?
我使用IB API和C#生成了贸易系统。
我想知道是否有可以获取打开/填充订单的订单的功能?
I generated my trade system with IB API and C#.
I'm wondering whether is there a function to get the open/filled orders' orderId?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
ibapi.eclient.reqopenorders方法允许获取客户端应用程序提交的所有活动订单
,或者
在ewrapper中收到Ewrapper和permid的结果,
将在执行结束时 您将点击
void openorderend();
方法>方法>方法>方法>方法在您的包装纸文档中:
The IBApi.EClient.reqOpenOrders method allows to obtain all active orders submitted by the client application
or
results will be received in EWrapper with orderId and permId
in the end of execution you will hit
void openOrderEnd();
method in your wrapperdocumentation:
https://interactivebrokers.github.io/tws-api/open_orders.html