Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Can't remove order with state "initiated"

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

    Can't remove order with state "initiated"

    Hi,

    I have a trail stop order under the sim1 account which appears to be orphaned and won't go away. It has a state of "initiated" and the state field is highlighted in yellow. It originated from a test I was running back on Jul 15th that I left unattended. While I was gone, windows automatically rebooted my machine after downloading some updates.

    It seems harmless, but if there's a way to clean this up please let me know.

    I've tried pressing the cancel button beside this order under the Orders tab. Also, I tried running a Repair DB. Neither made any difference.

    FYI, my TWS version is 892.7 and my ninja version is 6.5.1000.11

    Thanks

    #2
    Hello jackyd,

    Thank you for the post.

    The order you you are seeing is a ghost order. To get rid of this order you will need to go to Tools-->Options-->Simulator-->Reset. This will clear the order, and if you want to maintain the order history you will want to make sure that Clear History is unchecked.
    Ryan O.NinjaTrader Customer Service

    Comment


      #3
      Well, that was easy Thanks!

      Comment


        #4
        Can't remove pending orders

        I have 2 pending orders (a buy limit and a buy stop limit order) that I can't cancel or remove on my Sim dome. How do I get rid of these?

        Comment


          #5
          Hello SoleiTrader,

          Thank you for your post.

          First, if this is a live trade please contact your broker to manage the position.
          Once you have closed the position with your broker please repair your database to remove the order from NinjaTrader.
          To repair your database please go to Tools--> Options--> Misc--> and click Repair DB.
          If this does not remove the order then the order will be removed when your broker resets their servers.
          If the order was submitted to the sim101 account please reset the sim101 account.
          To reset the sim101 account please go to Tools--> Options--> Simulator--> and click Reset
          Click here for more information on the Sim101 account
          KyleNinjaTrader Customer Service

          Comment


            #6
            Originally posted by NinjaTrader_Kyle View Post
            Hello SoleiTrader,

            Thank you for your post.

            First, if this is a live trade please contact your broker to manage the position.
            Once you have closed the position with your broker please repair your database to remove the order from NinjaTrader.
            To repair your database please go to Tools--> Options--> Misc--> and click Repair DB.
            If this does not remove the order then the order will be removed when your broker resets their servers.
            If the order was submitted to the sim101 account please reset the sim101 account.
            To reset the sim101 account please go to Tools--> Options--> Simulator--> and click Reset
            Click here for more information on the Sim101 account
            Kyle,

            They are sim trades. I tried the Tools--> Options--> Simulator--> and click Reset, but it won't let me, saying I have to close open orders.

            Comment


              #7
              Hi SoleiTrader,

              Can you please disconnect from your data feed and then try resetting the simulator. Also, since this has happened a couple times recently can you please go to Tools-->Options-->Misc-->Repair DB. Then, please close NinjaTrader and reopen.
              Ryan O.NinjaTrader Customer Service

              Comment


                #8
                That did it! Thank you.

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by cmv727, 04-12-2024, 10:38 AM
                10 responses
                129 views
                0 likes
                Last Post NinjaTrader_Sev  
                Started by JagelBagel, Today, 02:16 PM
                2 responses
                11 views
                0 likes
                Last Post JagelBagel  
                Started by oliverupnext, 01-16-2024, 03:44 PM
                4 responses
                100 views
                0 likes
                Last Post NinjaTrader_Eduardo  
                Started by henry131013, 08-16-2023, 08:48 PM
                3 responses
                283 views
                0 likes
                Last Post Robelius  
                Started by notenufftime, Today, 09:36 AM
                5 responses
                35 views
                0 likes
                Last Post notenufftime  
                Working...
                X