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 > Automated Trading

Automated Trading Support for automated trading systems using NinjaScript. Support for our ATI (Automated Trading Interface) used to link an external application such as TradeStation and eSignal to NinjaTrader.

Reply
 
Thread Tools Display Modes
Old 07-11-2012, 06:51 AM   #1
LeeMellinger
Member
 
Join Date: May 2012
Posts: 33
Thanks: 22
Thanked 0 times in 0 posts
Default Cannot Kill OCO Order - "PendingSubmit"

I'm developing an app that submits orders through ATI. Somehow I now have an OCO order in SIM101 that has a state of "PendingSubmit" but that cannot be canceled, even with Flatten Everything. How do you kill a one sided OCO order that's been "orphaned"?

Thanks.
LeeMellinger is offline  
Reply With Quote
Old 07-11-2012, 06:55 AM   #2
NinjaTrader_Joydeep
NinjaTrader Customer Service
 
NinjaTrader_Joydeep's Avatar
 
Join Date: Dec 2011
Location: India
Posts: 3,286
Thanks: 580
Thanked 546 times in 541 posts
Default

Hello LeeMellinger,
You have to reset your simulator to remove the order.

Resetting a simulation account will clear all historical trade data from this account. Please follow the instructions below to reset a simulation account.
  • From the NinjaTrader Control Center window select the menu Tools > Options
  • Select the "Simulator" tab
  • Press the "Reset" button

Please let me know if I can assist you any further.
NinjaTrader_Joydeep is offline  
Reply With Quote
The following user says thank you to NinjaTrader_Joydeep for this post:
Reply

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
OCO and SO default "On" on startup... funk101 Indicator Development 1 04-05-2012 12:22 PM
Is it possible to use equations for the "quantity" of "order management" positions? Quantum Strategy Development 1 06-24-2011 08:59 AM
IB Market Sell Order - Stuck on "PendingSubmit" heech Strategy Development 9 02-27-2009 02:24 PM
summary of "strategy realized" is not equal "account performance, total net profit"" Fragolino Miscellaneous Support 1 02-19-2009 04:12 AM
the forum can not remember the settings of "Sorted by" and "Sort Order" clearpicks Suggestions And Feedback 1 05-23-2008 12:05 PM


All times are GMT -6. The time now is 10:14 PM.