NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > NinjaScript Development Support > General Programming

General Programming General NinjaScript programming questions.

Reply
 
Thread Tools Display Modes
Old 10-06-2009, 02:40 PM   #1
binwang2
Senior Member
 
Join Date: Jan 2009
Posts: 216
Thanks: 0
Thanked 1 time in 1 post
Default rejected orders

Hi NT experts,

When one of multiple orders is rejected and rest are filled, will the strategy close all positions stop the startegy or just close the rejected one and keep the strategy running?
binwang2 is offline  
Reply With Quote
Old 10-06-2009, 02:47 PM   #2
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 107 times in 70 posts
Default

binwang2,

Default behavior is to cease the complete strategy.
NinjaTrader_Josh is offline  
Reply With Quote
Old 10-08-2009, 02:08 PM   #3
binwang2
Senior Member
 
Join Date: Jan 2009
Posts: 216
Thanks: 0
Thanked 1 time in 1 post
Default

Quote:
Originally Posted by NinjaTrader_Josh View Post
binwang2,

Default behavior is to cease the complete strategy.
Thanks. A couple of questions.

Is
(RealtimeErrorHandling = RealtimeErrorHandling.TakeNoAction)

is designed to handle rejection only?

If i choose TakeNoAction, what ahppens if other errors occur?
binwang2 is offline  
Reply With Quote
Old 10-08-2009, 02:39 PM   #4
NinjaTrader_Austin
NinjaTrader Customer Service
 
NinjaTrader_Austin's Avatar
 
Join Date: Jun 2009
Location: Denver, CO
Posts: 3,149
Thanks: 10
Thanked 90 times in 82 posts
Default

Quote:
Originally Posted by binwang2 View Post
If I choose TakeNoAction, what happens if other errors occur?
Absolutely nothing at all. TakeNoAction is for individuals who wish to code a complete set of error handling rules including disconnects, order rejections, overfill protection, etc.

Let us know if you have any other questions.
NinjaTrader_Austin is offline  
Reply With Quote
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
ATM strategy StopLimit orders rejected robhef ATM Strategies (Discretionary Trading) 10 03-27-2009 09:42 AM
Orders rejected with TWS oclop Automated Trading 3 11-04-2008 08:06 AM
Orders Rejected tc101 Automated Trading 3 07-06-2008 07:43 PM
Orders - Rejected - No data BIGRED Historical NinjaTrader 6.5 Beta Threads 2 03-26-2008 10:25 AM
Disable popup messages for rejected orders changes Nathamus Automated Trading 3 03-13-2007 03:22 AM


All times are GMT -6. The time now is 12:56 AM.