Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Closing Unmanaged Order
Collapse
X
-
Hello r3n3v,
Thank you for your post.
The unmanaged approach uses CancelOrder() for cancellations, including cancelling a pending limit order. The help guide page for CancelOrder(), which includes an example of how this method is used with an order object, may be found here:
In the example, the order object myEntryOrder was submitted via the managed approach, but you would use the same idea with the unmanaged approach by assigning your order to an order object. Then you could set a condition to cancel the order with the following action:
CancelOrder(myOrderObject);
Please let us know if we may be of further assistance.
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, 03-31-2026, 09:41 PM
|
1 response
45 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
21 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
31 views
1 like
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
50 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
42 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment