NinjaTrader Support Forum  

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 04-16-2008, 01:51 PM   #1
behealed
Member
 
Join Date: Apr 2008
Posts: 51
Thanks: 0
Thanked 0 times in 0 posts
Default Order errors

I am getting a variety of order errors such as these which I see in two boxes on my screen right now. My problem is highlighted in bold and underlined text found below:

"Unable to change order '57b3154df2b2434...' since new limit price is greater/equal ask price or smaller/equal bid price. Affected Order: Buy 1 Limit @ 1.9757"

Then the second message that immediately followed, in regards to the same error:

"Strategy '[strategy name]' submitted an order that generated the following error 'UnableToChangeOrder'. Strategy has sent cancel requests, attempted to close the position and terminated itself.

These errors are being generated by NT in demo mode, yet my broker (GAIN) tells me that they will never reject a limit order even if it is on the wrong side of the bid/ask. So it's incorrect for NT to reject my orders, period...

However, I have no problem with the thing rejecting my orders, so long as it does NOT display these message boxes when it does so, and does NOT send cancel requests, and does NOT shut down my strategy! I have implemented my own code internally into my strategy to handle errors like this, so I do not want NT to be doing this. These errors are not something I am able to avoid, because my strategy is set up where I must place limit orders very close to the current market price, and some times it moves quickly as the order is placed and triggers these errors.

Help!!!
behealed is offline  
Reply With Quote
Old 04-16-2008, 02:01 PM   #2
behealed
Member
 
Join Date: Apr 2008
Posts: 51
Thanks: 0
Thanked 0 times in 0 posts
Default .

Found it: RealtimeErrorHandling = RealtimeErrorHandling.TakeNoAction;

yay
behealed 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
Backtesting Errors sysimp Strategy Analyzer 11 04-14-2008 12:42 PM
Compile errors Jim-Boulder Indicator Development 1 05-25-2007 11:23 AM
Order Errors today zoltran Miscellaneous Support 1 04-11-2007 02:55 AM
Compiler Errors mgbloomfield Indicator Development 3 12-15-2006 05:58 AM
Spelling errors in wizard Antraman Indicator Development 2 03-13-2006 12:34 AM


All times are GMT -6. The time now is 07:28 AM.