Now with .13 I have noticed some crashes that are very similar, only not necessarily related to the reverse position issue. It just happened again, seemingly randomly. I looked in the log file, and this is what I found:
2009-09-17 13:54:23:155 in OnUnhandledThreadException
2009-09-17 13:54:23:436 ********* exception trapped *********
2009-09-17 13:54:23:436 Item has already been added. Key in dictionary: 'SourceGrid2.RowInfo' Key being added: 'SourceGrid2.RowInfo'
2009-09-17 13:54:23:436 at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add)
at System.Collections.Hashtable.Add(Object key, Object value)
at NinjaTrader.Gui.PerformanceViewerControl.Display()
at NinjaTrader.Gui.PerformanceViewer.btnGenerate_Clic k(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventAr gs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
This is a trace of the error.
One serious issue is that after every one of these crashes, the stop from whatever ATM strategy I had running is automatically placed into the market again by NT... even if I already exited the position before I quit. Therefore as soon as I connect, the system places me in the market. I am currently running just the demo version of this, but with placing live trades it would be a serious problem. You guys need to code this up so that under no circumstances does NT try to place a stop order back into the market upon startup without me authorizing it.
Comment