​
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Cancel pending STUCK
Collapse
X
-
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.
​ -
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.
-
In your Control center window, look at Accounts tab.Originally posted by hdge4u View Postif i reset ill lose all my trading history. i was hoping there was another way around this.
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
-
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
-
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.Originally posted by hdge4u View Posti 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.
â
Comment
-
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
68 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
41 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
24 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
27 views
0 likes
|
Last Post
|
||
|
Started by Mindset, 02-28-2026, 06:16 AM
|
0 responses
54 views
0 likes
|
Last Post
by Mindset
02-28-2026, 06:16 AM
|

Comment