NinjaTrader Support Forum  

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 02-04-2009, 11:36 AM   #1
xewoox
Senior Member
 
Join Date: Dec 2008
Posts: 118
Thanks: 0
Thanked 0 times in 0 posts
Default Buy to Cover Stop Order got cancelled

I have make a buy to cover order. I am not sure why is it being cancelled.

The trade start at 2/4/2009 1:23:07 to do a short sell then at 2/4/2009 1:27:21 try to buy to cover. Instead of fill it and it cancel it.

What can be a problem?
Attached Files
File Type: zip log.20090204.zip (7.2 KB, 3 views)
xewoox is offline  
Reply With Quote
Old 02-04-2009, 11:40 AM   #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

Likely you did not resubmit to keep it alive.

Please review the "Order Submission for Entry and Exit Methods - Basic Operation" section of this article: http://www.ninjatrader-support.com/H...verview36.html
NinjaTrader_Josh is offline  
Reply With Quote
Old 02-04-2009, 01:05 PM   #3
xewoox
Senior Member
 
Join Date: Dec 2008
Posts: 118
Thanks: 0
Thanked 0 times in 0 posts
Default

But if you see the last trade in the log file. I am execute exitShortStop, but it get cancel, I am only issue this order when the price of that tick is same as that of the stop price. Isn't stop is a market order?
Attached Files
File Type: zip log.20090204.zip (9.3 KB, 2 views)
xewoox is offline  
Reply With Quote
Old 02-04-2009, 01:21 PM   #4
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

No. Stop orders are not market orders. Stop orders become market orders after price crosses the stop price. If the market price is never touched you need to resubmit the stop order or else it will get cancelled.
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
Stop order is being cancelled that is unrelated ahagger Automated Trading 20 01-19-2009 02:06 PM
NT Assumes Buy To Cover? zinkr SuperDOM and other Order Entry Windows 1 11-10-2008 09:26 AM
My position disappeared - stop cancelled tradejockey SuperDOM and other Order Entry Windows 2 07-31-2008 07:44 PM
Action: Buy to cover!? skynetman Strategy Development 1 04-15-2008 10:32 AM
Cancelled order MrBaffalo Strategy Development 2 04-26-2007 05:44 AM


All times are GMT -6. The time now is 12:37 PM.