Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Unable to cancel unmapped live orders

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

    Unable to cancel unmapped live orders

    Could someone please enlighten me why this would happen?



    I've got IB connected - I received this message after reloading a chart with a strategy running on it.

    Also, it seems like the strategy is running, despite this alert:



    Thanks!

    #2
    Mole, this script should not be started since NT was not able to map / cancel out the live orders from the previous strategy instance - what sync settings are you running it with?



    Is this on a setup with NT7 R15 and IB TWS 938.1?

    Comment


      #3
      Originally posted by NinjaTrader_Bertrand View Post
      Mole, this script should not be started since NT was not able to map / cancel out the live orders from the previous strategy instance - what sync settings are you running it with?



      Is this on a setup with NT7 R15 and IB TWS 938.1?
      We had it set to live orders and the sync setting was set to false. Seems like IB somehow got disconnected - we are using the gateway, which I know you are not supporting.


      But I was unaware of the sync setting - never noticed it. So this is very valuable.

      Comment


        #4
        Ok, thanks the follow up and clarification. Gateway support is on our list of feedback and I will make sure your vote is in as well.

        Comment


          #5
          I have a follow up question after reviewing this page:

          Assuming the live setting - am i correct in understanding that the difference in the sync settings are as follows:
          • FALSE: If I have three open short positions in my account and two strategy positions supposedly being short it will attempt to map any of the three account positions to my strategy positions. It will however NOT close my third leftover short account short position.
          • TRUE: If I have three open short positions in my account and two strategy positions supposedly being short it will attempt to map any of the three account positions to my strategy positions. It will also close my third leftover short account short position.


          Otherwise I have a hard time wrapping my mind around the difference between the two settings.

          Comment


            #6
            What you would need to keep in mind that the sync setting is always individual per strategy, so it will not cycle through all strategies and then arrive at an overall strategy position per instrument - that's one thing we're looking into enhancing for our next major update. Also we would not sync any account position in, for NT always the strategy position will be paramount - with the sync false, it will not send any orders to reconciliate to the account and it would not manage any historical strategy position that the script may have coming from historical data.

            With the sync enabled, it will flatten the account if needed to reach the same flat state as your strategy would have with this setting (as any historical position would be virtual only and not managed live).

            Comment


              #7
              Originally posted by NinjaTrader_Bertrand View Post
              What you would need to keep in mind that the sync setting is always individual per strategy, so it will not cycle through all strategies and then arrive at an overall strategy position per instrument - that's one thing we're looking into enhancing for our next major update. Also we would not sync any account position in, for NT always the strategy position will be paramount - with the sync false, it will not send any orders to reconciliate to the account and it would not manage any historical strategy position that the script may have coming from historical data.

              With the sync enabled, it will flatten the account if needed to reach the same flat state as your strategy would have with this setting (as any historical position would be virtual only and not managed live).
              But per the tutorial it would have flattened my account even with sync disabled. Please elaborate.

              Comment


                #8
                This would not be correct, with the sync disabled your account is not touched, unless there are active orders working from a previous instance. But still only those would be cancelled (as the historical strategy position is always flat in this first option) - the account positions themselves would not be affected.

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                0 responses
                646 views
                0 likes
                Last Post Geovanny Suaza  
                Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                0 responses
                367 views
                1 like
                Last Post Geovanny Suaza  
                Started by Mindset, 02-09-2026, 11:44 AM
                0 responses
                107 views
                0 likes
                Last Post Mindset
                by Mindset
                 
                Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                0 responses
                569 views
                1 like
                Last Post Geovanny Suaza  
                Started by RFrosty, 01-28-2026, 06:49 PM
                0 responses
                573 views
                1 like
                Last Post RFrosty
                by RFrosty
                 
                Working...
                X