Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Order cancelled

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

    Order cancelled

    Hello,

    I have several strategies enabled. An order gets placed and with it the risk management orders. I see the position open and my contingent orders active. Everything appears to be working fine. My computer has a problem and I need to restart. I ran NT again and while re-enabling my strategies my contingent orders get CANCELLED and the position is still open.

    What's going on?
    Please help.

    Thanks.

    #2
    Hello TexFly,

    I suspect this is due to the 'On starting a real-time strategy' setting and 'Synch account position' setting. The first setting can be found at Control Center-->Tools-->Options-->Strategies-->NinjaScript-tab. The second one when you start your strategy in the strategy settings. Please see the link below for more information.


    Check what settings you have been using and if they clarify why the orders were cancelled.
    JasonNinjaTrader Customer Service

    Comment


      #3
      Jason,

      I have "Wait until flat before..." and "Do no sync with" in the strategy. How does it affect the behavior I described earlier? If my computer restarts I want to be sure my orders do not get cancelled.

      Comment


        #4
        Please see the informaton below from the help guide under 'Wait until flat before executing live, Sync account position = false'.

        When your strategy starts it will check for any active orders previously generated by the strategy on your account and cancel those first.
        JasonNinjaTrader Customer Service

        Comment


          #5
          Jason,

          I understand. How do I configure my system so the orders do not get cancelled and Sync is OFF?

          Also, can I easily re-activate those orders?

          Comment


            #6
            You will need to use one of the other combinations and see what suits best for you.

            Unfortunately I do not see how to re-activate the orders. You can submit orders manually, but the strategy will not recognize these orders.
            JasonNinjaTrader Customer Service

            Comment


              #7
              Jason,

              Can I do the following?

              1) First time I start my live campaign I have Wait until flat before executing live, Sync account position = false
              2) If anything happens to my trading computer and I'm forced to restart I can switch to Immediately submit live working historical orders, Sync account position = false


              Can I do this without messing up the whole system? ;-)

              Thanks.

              Comment


                #8
                Yes, this is possible. Once NinjaTrader is restarted, please change the 'On starting a real-time strategy' setting and subsequently right click in the Control Center-->Strategies-tab and select New Strategy. Set 'Synch account position' accordingly and run the strategy.
                JasonNinjaTrader Customer Service

                Comment


                  #9
                  Hi Jason,

                  If I do not change the strategy sync mode (leave it on do not sync...) but only the "wait until flat.." option do I still need to recreate all the strategies or I can just enable them?

                  Comment


                    #10
                    Originally posted by TexFly View Post
                    Jason,

                    I understand. How do I configure my system so the orders do not get cancelled and Sync is OFF?

                    Also, can I easily re-activate those orders?
                    What are your settings for Handling and Order Handling?

                    Comment


                      #11
                      Cancel entry orders and Cancel exit orders....Both unchecked...

                      Comment


                        #12
                        Originally posted by TexFly View Post
                        Cancel entry orders and Cancel exit orders....Both unchecked...
                        And for Handling? It is a separate option in the right hand list of that tab.

                        Comment


                          #13
                          It is "keeprunning"...

                          Comment


                            #14
                            Hello TexFly,

                            The KeepRunning setting will cause the startegy not to be terminated when you experience a disconnection. More information can be found at the link below.
                            JasonNinjaTrader Customer Service

                            Comment


                              #15
                              Thanks Jason. So it is in the correct position.

                              If I do not change the strategy sync mode (leave it on do not sync...) but only the "wait until flat.." option do I still need to recreate all the strategies or I can just enable them after restarting NT7?

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by bill2023, Yesterday, 08:51 AM
                              8 responses
                              43 views
                              0 likes
                              Last Post bill2023  
                              Started by yertle, Today, 08:38 AM
                              6 responses
                              25 views
                              0 likes
                              Last Post ryjoga
                              by ryjoga
                               
                              Started by algospoke, Yesterday, 06:40 PM
                              2 responses
                              24 views
                              0 likes
                              Last Post algospoke  
                              Started by ghoul, Today, 06:02 PM
                              3 responses
                              16 views
                              0 likes
                              Last Post NinjaTrader_Manfred  
                              Started by jeronymite, 04-12-2024, 04:26 PM
                              3 responses
                              46 views
                              0 likes
                              Last Post jeronymite  
                              Working...
                              X