here is the log and trace file.
do i need to restart ninja after this?
1/9/2009 10:31:02 AM|1|32|Order='5292803/26294!Dorman!Dorman' Name='External' New State=Cancelled Instrument='GC 02-09' Action=Buy Limit price=0 Stop price=864 Quantity=1 Type=Stop Filled=0 Fill price=0 Error=NoError Native error=''
1/9/2009 10:50:25 AM|1|1|AT, 'PLACE;Sim101;ES 03-09;SELL;1;LIMIT;892.00;0;DAY;oco1clightES;idname1; clightes;stratidclightES1' processing
2009-01-09 10:31:02:928 (PETER) Cbi.OrderStatusEventArgs.Process: Order='5292803/26294!Dorman!Dorman' Name='External' New State=Cancelled Instrument='GC 02-09' Action=Buy Limit price=0 Stop price=864 Quantity=1 Type=Stop Filled=0 Fill price=0 Error=NoError Native error=''
2009-01-09 10:50:25:288 in OnUnhandledApplicationException
2009-01-09 10:50:25:288 ********* exception trapped *********
2009-01-09 10:50:25:288 Item has already been added. Key in dictionary: 'Sim101' Key being added: 'Sim101'
2009-01-09 10:50:25:288 System.ArgumentException: Item has already been added. Key in dictionary: 'Sim101' Key being added: 'Sim101'
at System.Windows.Forms.Control.MarshaledInvoke(Contr ol caller, Delegate method, Object[] args, Boolean synchronous)
at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
at NinjaTrader.Cbi.SynchronizeInvoke.Invoke(Delegate method, Object[] args)
at NinjaTrader.Cbi.AutoTrade.OnFswChanged(Object sender, FileSystemEventArgs e)
at System.IO.FileSystemWatcher.OnChanged(FileSystemEv entArgs e)
at System.IO.FileSystemWatcher.NotifyFileSystemEventA rgs(Int32 action, String name)
at System.IO.FileSystemWatcher.CompletionStatusChange d(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* overlappedPointer)
at System.Threading._IOCompletionCallback.IOCompletio nCallback_Context(Object state)
at System.Threading.ExecutionContext.runTryCode(Objec t userData)
at System.Runtime.CompilerServices.RuntimeHelpers.Exe cuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.ExecutionContext.RunInternal(Exec utionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ExecutionContext.Run(ExecutionCon text executionContext, ContextCallback callback, Object state)
at System.Threading._IOCompletionCallback.PerformIOCo mpletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)

Comment