As you can see in the attached picture, my strategy failed get out at the top of a trend, at around $0.7900 even though the strategy placed a Gtc limit order that should have filled the *next day*. If the order type is a day order, this behavior is perfectly reasonable, but I see Time in force value set to Gtc in the Backtest window. As you can see from order trace, the limit sell order was entered successfully for Jan 22. So I am confused on whether I really understand how Gtc order works in NT.
1/22/2007 12:00:00 AM Entered internal PlaceOrder() method at 1/22/2007 12:00:00 AM: Action=Sell OrderType=Limit Quantity=1 LimitPrice=0.7921 StopPrice=0 SignalName='' FromEntrySignal=''
1/22/2007 12:00:00 AM Entered internal PlaceOrder() method at 1/22/2007 12:00:00 AM: Action=SellShort OrderType=Limit Quantity=1 LimitPrice=0.7921 StopPrice=0 SignalName='' FromEntrySignal=''
1/23/2007 12:00:00 AM Entered internal PlaceOrder() method at 1/23/2007 12:00:00 AM: Action=SellShort OrderType=Limit Quantity=1 LimitPrice=0.7921 StopPrice=0 SignalName='' FromEntrySignal=''
1/26/2007 12:00:00 AM Entered internal PlaceOrder() method at 1/26/2007 12:00:00 AM: Action=Sell OrderType=Market Quantity=0 LimitPrice=0 StopPrice=0 SignalName='' FromEntrySignal=''

Comment