【问题标题】:How do i assign the reqOpenorder (from IBrokers package) results to a matrix?如何将 reqOpenorder(来自 IBrokers 包)结果分配给矩阵?
【发布时间】:2012-08-29 10:32:31
【问题描述】:

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

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

【问题讨论】:

标签: r ibrokers


【解决方案1】:

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

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2011-10-22
    • 1970-01-01
    • 2011-08-12
    • 1970-01-01
    • 2022-09-28
    • 2021-11-23
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多