• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Orders not submitted to IB TWS

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    Orders not submitted to IB TWS

    Dear NT,

    I am connected to IB TWS via API but the orders submitted was stuck within NT with Pending Submit status. I was able to submit orders in the past. Any reason for that and how can I fix this?

    #2
    Hello richardkoay1986,

    Are you using OCO?

    If OCO is left enabled and an order closes, the next order will be stuck in PendingSubmit.

    When an order is submitted with OCO enabled it will use a particular OCO ID. If OCO is not unchecked, it will continue using that OCO ID when entering new orders.
    With some brokers, if an order is filled or cancelled using an OCO ID, all orders from that point forward using that OCO ID will be ignored.
    This means that it is very important that once you've placed a pair of orders with OCO, that you uncheck OCO.

    To clear stuck live orders, disconnect from all connections and then reconnect.
    To clear stuck Sim101 orders, click Tools -> Options... -> Simulator -> Reset... -> OK.

    If you do not have OCO enabled, please send an email to platformsupport [at] ninjatrader [dot] com so that we may request your log and trace files. In the email include a link to this forum thread.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Hi ChelseaB,

      Thanks for the quick response. Nope, OCO is not enabled in my order.

      Let me send a support request to the e-mail address you mentioned.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by swcooke, Today, 12:33 PM
      1 response
      6 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by NinjaCustomer, Today, 12:10 PM
      1 response
      5 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by KINGKODA, Today, 11:48 AM
      0 responses
      3 views
      0 likes
      Last Post KINGKODA  
      Started by mlarocco, Today, 10:52 AM
      6 responses
      17 views
      0 likes
      Last Post mlarocco  
      Started by Eros Lima, Today, 09:45 AM
      2 responses
      5 views
      0 likes
      Last Post NinjaTrader_ChrisL  
      Working...
      X