I run a strategy I developed on NinjaTrader 7.0.1.15, with FXCM connector and more precisely CFD GER30.
This strategy is running on "managed" mode with trace order activated.
On the last hour of trading day, I realized several trades were ignored by NinjaTrader with the following error message:
03/09/2013 20:17:33 Entered internal PlaceOrder() method at 03/09/2013 20:17:33: BarsInProgress=0 Action=Sell OrderType=Market Quantity=1 LimitPrice=0 StopPrice=0 SignalName='SellS' FromEntrySignal=''
03/09/2013 20:17:33 Ignored PlaceOrder() method: Action=Sell OrderType=Market Quantity=1 LimitPrice=0 StopPrice=0 SignalName=SellS' FromEntrySignal='' Reason='There already is a matching, filled exit order in place'
In backtest, the same trades are filled without issues.
At the time the trades are ignored, I have a long position and I run "ExitShort" statements.
I would be in unmanaged mode I would try to debug it further and see what is wrong in my order handling but here in managed mode I am lost.
Would you be able to assist?
Many thanks and regards.
Comment