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 > NinjaScript Development Support > Strategy Development

Strategy Development Support for the development of custom automated trading strategies using NinjaScript.

Reply
 
Thread Tools Display Modes
Old 05-06-2009, 02:22 PM   #1
junkone
Senior Member
 
Join Date: Sep 2008
Posts: 356
Thanks: 1
Thanked 1 time in 1 post
Default 06/05/2009 2:59:19 PM Order Order rejected - reason:Too late to replace order (201)

how to prevent these warning
06/05/2009 2:59:19 PM Order Order rejected - reason:Too late to replace order (201) Affected Order: Sell 80000 Stop @ 0.7492

basically it was trying to modify the order as the order was getting filled.
junkone is offline  
Reply With Quote
Old 05-06-2009, 02:29 PM   #2
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
Default

There is nothing you can do except don't modify when order is filled. If it is an inflight fill you will still receive this message if it happens.
NinjaTrader_Josh 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
Order rejected from IB error 201 dwil Automated Trading 3 12-18-2008 10:15 AM
IB Order rejected error code 201 TraderEyal ATM Strategies (Discretionary Trading) 7 07-21-2008 01:10 PM
IB: Order rejected - reason: Invalid Price (201) junmachan Connecting 3 06-09-2008 10:47 PM
Order rejected - reason: no clearing rule found Torso Automated Trading 1 09-26-2006 02:36 AM
Order rejected - Could not value this order at this time dwil Automated Trading 1 06-07-2006 03:09 AM


All times are GMT -6. The time now is 03:00 AM.