Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
restarting a strategy would cancel all open orders created by the same strategy
Collapse
X
-
restarting a strategy would cancel all open orders created by the same strategy
I noticed that restarting a strategy (by clicking F5 or checking Enable/Disable button) would cancel all open orders previously entered by the same strategy. Is this kind of behavior normal and designed intentionally? Is it possible to disable it? Cancelling those orders may leave the open position unprotected unless the position is flattened at the same time.Tags: None
-
Bertrand,
Your solution only prevents orders from being cancelled when a strategy is disabled or removed from chart. However next time when I enable it (by checking the "Enable" button in strategy window or simply press "F5" key to reload it, all open orders would be cancelled, which is not the behavior I expected. Do I miss something?
Comment
-
Try using these settings.Originally posted by clearpicks View PostBertrand,
Your solution only prevents orders from being cancelled when a strategy is disabled or removed from chart. However next time when I enable it (by checking the "Enable" button in strategy window or simply press "F5" key to reload it, all open orders would be cancelled, which is not the behavior I expected. Do I miss something?
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
633 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
364 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
105 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
567 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
568 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment