Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
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,
Thanks for writing in today.
You can check order status from the Orders tab of the Control Center. If the exchange has sent a notification message regarding this, it will be displayed in the Log tab of the Control Center.
Please let me know if I may be of any further assistance.Marco G.NinjaTrader Customer Service
-
-
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.Kate W.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Mindset, Yesterday, 02:04 AM
|
1 response
15 views
0 likes
|
Last Post
by Mindset
Today, 05:26 AM
|
||
Started by agclub, 04-21-2024, 08:57 PM
|
4 responses
18 views
0 likes
|
Last Post Today, 05:14 AM | ||
Started by Irukandji, Today, 04:58 AM
|
0 responses
3 views
0 likes
|
Last Post
by Irukandji
Today, 04:58 AM
|
||
Started by fitspressoburnfat, Today, 04:25 AM
|
0 responses
2 views
0 likes
|
Last Post Today, 04:25 AM | ||
Started by Skifree, Today, 03:41 AM
|
1 response
5 views
0 likes
|
Last Post
by Skifree
Today, 03:42 AM
|
Comment