![]() |
|
|||||||
| Strategy Development Support for the development of custom automated trading strategies using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Dec 2008
Posts: 118
Thanks: 0
Thanked 0 times in 0 posts
|
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? |
|
|
|
|
|
#2 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 107 times in 70 posts
|
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
Josh
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Dec 2008
Posts: 118
Thanks: 0
Thanked 0 times in 0 posts
|
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?
|
|
|
|
|
|
#4 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 107 times in 70 posts
|
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.
Josh
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
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 |