Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
NT7: What are Order.States that allow to cancel an Order?
Collapse
X
-
Hello pstrusi,
An order can be cancelled in any state except for Filled, PartFilled, or Cancelled. With these states it would cause an overfill.
Let me know if you would like all the other states than these states listed.
While it is allowed to cancel an order in any other state than these states, there may be other reasons than an order cannot be cancelled (such as improper oco use).
Below is a public link to the help guide on CancelOrder().
This is also true in NinjaTrader 8.Last edited by NinjaTrader_ChelseaB; 06-17-2018, 07:12 PM.
-
NT7: What are Order.States that allow to cancel an Order?
When a Strategy triggers a signal and submits an order, it will take a time before the Order gets "OrderState.Working" ( accepted and live at the exchange ).
My question is: what if the Strategy needed to cancel that Order before it gets "OrderState.Working" ? Could it be possible to cancel an order in any of these Order.State ?:
OrderState.Accepted
OrderState.PendingChange
OrderState.PendingSubmit
Or even simpler question:
Can a Strategy cancel an order which is " NOT NULL " ?
ThanksLast edited by pstrusi; 06-17-2018, 02:42 AM.Tags: None
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by johntraderuser2, Today, 02:34 AM
|
0 responses
5 views
0 likes
|
Last Post Today, 02:34 AM | ||
Started by IanS00, 03-27-2024, 11:24 AM
|
2 responses
12 views
0 likes
|
Last Post Today, 02:00 AM | ||
Started by Mariawilcoxi, Today, 01:32 AM
|
0 responses
4 views
0 likes
|
Last Post
by Mariawilcoxi
Today, 01:32 AM
|
||
Started by gleichnerany, Today, 01:17 AM
|
0 responses
5 views
0 likes
|
Last Post
by gleichnerany
Today, 01:17 AM
|
||
Started by WHICKED, 03-27-2024, 12:33 PM
|
4 responses
46 views
0 likes
|
Last Post Today, 12:28 AM |
Leave a comment: