Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
The last order status
Collapse
X
-
The last order status
I'm using managed approach. Is there any way to know if last submitted order was automatically cancelled bc market didn't trigger entry stop?Tags: None
-
-
Hello Leeroy_Jenkins,
Thank you for your reply.
We would suggest tracking your orders in order objects, then tracking the order in OnOrderUpdate. If the order status in OnOrderUpdate is cancelled, then you could execute whatever logic you'd like, whether that's submitting a different order or doing something else.
I'd suggest checking out this example from our help guide that demonstrates tracking your orders in OnOrderUpdate:
Please let us know if we may be of further assistance to you.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by kinfxhk, 07-14-2026, 09:39 AM
|
0 responses
21 views
0 likes
|
Last Post
by kinfxhk
07-14-2026, 09:39 AM
|
||
|
Started by kinfxhk, 07-13-2026, 10:18 AM
|
0 responses
60 views
0 likes
|
Last Post
by kinfxhk
07-13-2026, 10:18 AM
|
||
|
Started by kinfxhk, 07-13-2026, 09:50 AM
|
0 responses
43 views
0 likes
|
Last Post
by kinfxhk
07-13-2026, 09:50 AM
|
||
|
Started by kinfxhk, 07-13-2026, 07:21 AM
|
0 responses
47 views
0 likes
|
Last Post
by kinfxhk
07-13-2026, 07:21 AM
|
||
|
Started by kinfxhk, 07-11-2026, 02:11 AM
|
0 responses
38 views
0 likes
|
Last Post
by kinfxhk
07-11-2026, 02:11 AM
|

Comment