Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Unabled to cancel out unmapped live orders
Collapse
X
-
Josh, the custom build has failed to solve the "unmapped" problem.
A sim stop carried over from the prior session now appears on the Order Tab the next day, but it cannot be cancelled. Attempting to start the strategy produced the "Unable to cancel out unmapped live orders. Strategy not started." message. Attempting to cancel the order manually on the Orders Tab, with the mouse right click, does not cancel the order.
The strategy was removed, and replaced on the strategy tab. After a long delay of about 4 minutes, the strategy turned green. The old sim stop from yesterday remains on the orders tab and cannot be cancelled.
Comment
-
-
I am not sure what you mean by "Recovered".
It has persisted accross sesson lines in the "initialized instrument" state, but the stop price changed to 0.
The prior session ended with two active sim stops from different strategies in different sim accounts. Both had active sim stops on same instrument but different qty. The trace file shows the two sim stops using the same order # with same appended account #. That seems wrong to me.Last edited by Camdo; 09-23-2010, 02:56 PM.
Comment
-
Camdo,
Okay. Let us simplify your test scenario to ensure the basics are working first before advancing to any more complicated cases.
1. Please see attached strategy. Please modify it to have a trading date for the day you are testing on. Please modify it to have a trading time a few minutes after when you would start the strategy.
2. Run the strategy and wait for it to get you into a long position. After you enter a long position the strategy will get you in a 2% simulated stop. This order should be in the Initialized state.
3. Disable the strategy. The simulated stop should still be active in the Initialized state.
4. Re-enable the strategy a few minutes later. The simulated stop would be cancelled and a new one would be resubmitted. The new state should be Initialized.Attached FilesJosh P.NinjaTrader Customer Service
Comment
-
Josh. I added steps 3a,b,c,d for simStopTest strategy.
1. Please see attached strategy. Please modify it to have a trading date for the day you are testing on. Please modify it to have a trading time a few minutes after when you would start the strategy.
2. Run the strategy and wait for it to get you into a long position. After you enter a long position the strategy will get you in a 2% simulated stop. This order should be in the Initialized state.
3. Disable the strategy. The simulated stop should still be active in the Initialized state.
3a. Exit NT. Wait a few minutes.
3b. Start NT and reconnect. Observe sim stop on orders tab. It is in "initialized" state, yellow, and has a stop price of 0.
3c. ReEnable the strategy. Message "unable to cancel unmapped live orders" will appear.
3d. Go to Orders tab. Right mouse click on sim stop. Click Cancel. Nothing happens.
The only way to get rid of this sim stop is to reset the database.
Strategy UI settings:
Days to load = 10
Tif = day
Exit on close = false
simulation account
period = 1 minute
min bars required = 0
Options:
Immediately submit live working historical orders = checked
Cancel entry orders when a strategy is disabled = checked
Cancel exit orders when a stratgy is disabled = uncheckedLast edited by Camdo; 09-26-2010, 12:38 PM.
Comment
-
Josh,
The problem has not been fixed in new revision 7.0.0.22
The failure senario remains unchanged:
1. Run strategy SimStopTest. Observe Sim stop yellow in initialized state.
2. Disable strategy.
3. Close NT.
4. Restart NT. Connect. Observe sim stop yellow in initialized state.
5. Enable strategy. Wait 1 minute. Observe message "Unable to cancel out unmapped orders, strategy...not started.
The UI settings are described in post #40
This is a serious problem for live accounts carrying a sim stop overnite into a new session, as the only way to restart the strategy is to reset the database.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
597 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
343 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
103 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
556 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
555 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment