如何将reqOpenorder(来自IBrokers包)结果分配给矩阵?

时间:2012-08-29 10:32:32

标签: r ibrokers

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

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

1 个答案:

答案 0 :(得分:0)

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