NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com


Go Back   NinjaTrader Support Forum > Application Technical Support > Miscellaneous Support

Miscellaneous Support Miscellaneous support issues.

Reply
 
Thread Tools Display Modes
Old 08-31-2011, 01:25 AM   #1
guillembm
Senior Member
 
Join Date: Jun 2011
Posts: 279
Thanks: 55
Thanked 7 times in 6 posts
Default Cancel all orders

Hi,

is there a way to cancel all orders generated by a strategy in a single instruction?
guillembm is offline  
Reply With Quote
Old 08-31-2011, 01:49 AM   #2
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,404
Thanks: 252
Thanked 974 times in 957 posts
Default

guillembm, there would be unfortunately no supported method for this task - you would need to CancelOrder() all IOrders in non terminal state.
NinjaTrader_Bertrand is offline  
Reply With Quote
Reply

Tags
cancelorders

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Orders will not cancel... netjms Miscellaneous Support 1 07-02-2010 12:31 PM
cancel orders binwang2 General Programming 1 09-30-2009 11:49 AM
Cannot cancel/remove orders from orders tab eleven Miscellaneous Support 1 07-02-2009 02:48 AM
Orders That Don't Cancel zerosum666 Connecting 1 06-03-2009 11:44 AM
Why does cancel all orders in NT Light cancel real orders in TWS dwight Miscellaneous Support 0 11-29-2004 01:54 PM


All times are GMT -6. The time now is 01:20 AM.