I’ve been doing a bit of research on a bug I’m seeing. My ExitLong() market order is being cancelled, telling me there is no corresponding position to exit:
20/08/2008 00:00:00 Entered internal PlaceOrder() method at 20/08/2008 00:00:00: Action=Sell OrderType=Market Quantity=0 LimitPrice=0 StopPrice=0 SignalName='' FromEntrySignal=''
13/08/2008 00:00:00 Cancelled pending exit order, since associated position is closed: Order='NT-00005/Back101' Name='Sell' State=PendingSubmit Instrument='$USDCAD' Action=Sell Limit price=0 Stop price=0 Quantity=0 Strategy='TripleMACrossv4' Type=Market Tif=Gtc Oco='' Filled=0 Fill price=0 Token='678b79bd92b54d23bb35157d236eb2a6' Gtd='01/12/2099 00:00:00'
I am working on a simple multiple MA cross over with an ADX set-up requirement.
I am relatively new to Ninja Trader, so I freely admit that this could be how I’m handling the IExecution or IOrder objects in the strategy. However, I got a little concerned when I saw the thread here: http://www.ninjatrader-support2.com/vb/showthread.php?t=12619
This talks of an bug that is causing the cancelling of pending orders here as well: http://www.ninjatrader-support2.com/vb/showthread.php?t=14674
It mentions it is fixed in [FONT='Verdana','sans-serif']release 6.5.1000.9 (which I am running), however, I am seeing much the same symptoms.[/font]
[FONT='Verdana','sans-serif']Could someone confirm this isn’t the same bug / related bug?[/font]
[FONT='Verdana','sans-serif']I have attached a screen shot of the order log in the strategy analyser as well.[/font]
[FONT='Verdana','sans-serif']Kind regards,[/font]
[FONT='Verdana','sans-serif']Dan[/font]

Comment