Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Cancel pending STUCK

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

    Cancel pending STUCK

    i kept a sim position open over the weekend and after multiple attempts to open close connect reconnect. the order is stuck in a "cancel pending" state. please advise. i assume clearing the cache or something would do it.



    ​
    Attached Files

    #2
    Hello hdge4u,

    Thank you for your inquiry and for using NinjaTrader!

    Resetting the Sim101 account will eliminate these orders if they've become stuck. To manage, edit, or reset your Sim101 account, do the following:
    • Go to the Control Center > Accounts window
    • Right-click on the Sim101 account > select 'Edit Account'
    • In this window, you may change the Initial Cash Size for your Sim101 account, as well as add other features such as Commissions and Risk Templates
    • To apply the changes, click on the 'reset' button at the bottom of the window. You may need to restart the platform for these changes to take full effect.
    Please let us know if we can be of further assistance.

    Comment


      #3
      if i reset ill lose all my trading history. i was hoping there was another way around this.

      Comment


        #4
        Hello hdge4u,

        Thank you for your response.

        Unfortunately, with the Sim101 account, that would not be possible. The solution is to clear the account when a situation like this arises since the orders live locally in your database and not in a server-side location.

        Comment


          #5
          Originally posted by hdge4u View Post
          if i reset ill lose all my trading history. i was hoping there was another way around this.
          In your Control center window, look at Accounts tab.

          Right click on 'Sim101' and choose 'Edit account...'
          from the context menu. A dialog appears.

          In the lower right, look for 'reset'.

          After clicking 'reset' you'll see a popup confirmation
          dialog with a checkbox for the 'Clear history' option.

          Make sure the 'Clear history' checkbox is unchecked.

          Click 'Yes' ... that should reset the account but retain
          your trade history.



          Comment


            #6
            Hello bltdavid & hdge4u,

            Thanks for the assist!

            I do just want to mention that sometimes leaving this option unchecked does not always result in the removal of stuck pending orders. You are definitely welcome to try it that way first, then try again with the 'Clear history' option selected afterward if the orders remain.

            Either way, I appreciate bltdavid for mentioning the option as it is a great thing to be aware of and was an oversight on my part.

            Thanks again and I hope both of you have a wonderful day!

            Comment


              #7
              Originally posted by hdge4u View Post
              i kept a sim position open over the weekend and after multiple attempts to open close connect reconnect. the order is stuck in a "cancel pending" state. please advise. i assume clearing the cache or something would do it.



              â
              I am testing a strategy (actually an indicator taking trades) and I frequently run in to the problem of stuck orders "cancel pending". Since my stratetgy only takes trades when the orders = null, I can't test properly. Do I need to know something to prevent this behaviour from happening or is there a way to get rid of that bug? Reseting the sim101 account seems like fighting the symptome instead of fixing the problem.

              Comment


                #8
                I just reset the account again but this time without clearing the history. My Indicator takes trades again, the trade history is still there but the orders with state cancel pending are also there still.

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by argusthome, 03-08-2026, 10:06 AM
                0 responses
                55 views
                0 likes
                Last Post argusthome  
                Started by NabilKhattabi, 03-06-2026, 11:18 AM
                0 responses
                37 views
                0 likes
                Last Post NabilKhattabi  
                Started by Deep42, 03-06-2026, 12:28 AM
                0 responses
                17 views
                0 likes
                Last Post Deep42
                by Deep42
                 
                Started by TheRealMorford, 03-05-2026, 06:15 PM
                0 responses
                19 views
                0 likes
                Last Post TheRealMorford  
                Started by Mindset, 02-28-2026, 06:16 AM
                0 responses
                49 views
                0 likes
                Last Post Mindset
                by Mindset
                 
                Working...
                X