1

结果reqOpenOrders如下

**reqOpenOrders(tws)**                           
TWS Message: 2 3 399 Order Message:                     
Warning: Your order size is below the EUR 20000 IdealPro minimum and will be routed as an odd lot order.  
TWS OrderStatus: orderId=3 status=PreSubmitted filled=0 remaining=1 averageFillPrice=0  
TWS OrderStatus: orderId=3 status=Submitted filled=0 remaining=1 averageFillPrice=0  
TWS OrderStatus: orderId=3 status=Submitted filled=0 remaining=1 averageFillPrice=0  
TWS OrderStatus: orderId=3 status=Submitted filled=0 remaining=1 averageFillPrice=0  
TWS OrderStatus: orderId=3 status=Submitted filled=0 remaining=1 averageFillPrice=0  
TWS Execution: orderId=3 time=2012-08-29 15:38:48 side=BOT shares=1 symbol=EUR conId=12087792 price=1.25580

但是如何在向量/矩阵中获得上述结果?

4

1 回答 1

0

我有一个类似的问题已解决。您可能想看一下,该解决方案会创建一个包含未结订单数据的列表,您可以按照自己的方式组织该列表:R IBrokers reqOpenOrders hangs

于 2016-01-12T15:20:00.447 回答