![]() |
This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com
|
|||||||
| Miscellaneous Support Miscellaneous support issues. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Mar 2009
Posts: 477
Thanks: 11
Thanked 1 time in 1 post
|
I have had this problem for a while with .11, and it still persists after I upgraded to .13. NT sometimes gives me a message that says "NinjaTrader has encountered a problem and must shut down". Most of the time when this happens it occurs after I have tried to hit the "reverse position" button. It does NOT reverse the position, gives me the message, and then still allows me to do everything else in the program. However, every time I press the reverse position button I get the same message until I shut down NT.
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. |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Aug 2007
Location: Breda, Netherlands
Posts: 11,234
Thanks: 83
Thanked 336 times in 328 posts
|
Hello JS999,
As per the crash you included, what steps did you perform just before this crash occurred? Does the crash occur each time when you hit the REV button. If not, please try to isolate the crash; under what circumstances does the crash occur each time? What order status did the stop loss have when the crashed occurred? Once NinjaTrader crashes, I suggest to check all active orders and ensure they are cancelled. If an order has been cancelled, it will not be re-submitted upon re-connection.
Jason
NinjaTrader Customer Service |
|
|
|
|
|
#3 | |||||
|
Senior Member
Join Date: Mar 2009
Posts: 477
Thanks: 11
Thanked 1 time in 1 post
|
Quote:
Quote:
Quote:
Quote:
Quote:
|
|||||
|
|
|
|
|
#4 |
|
NinjaTrader Customer Service
Join Date: Aug 2007
Location: Breda, Netherlands
Posts: 11,234
Thanks: 83
Thanked 336 times in 328 posts
|
I see, please send me an email at support[at]ninjatrader[dot]com when the stop loss order is submitted upon re-connection.
Include your log file for the date the issue occurred, put 'Attn Jason' in the subject header and please reference this forum thread. Log files can be found at My Documents-->NinjaTrader 6.5-->log.
Jason
NinjaTrader Customer Service |
|
|
|
|
|
#5 |
|
Senior Member
Join Date: Mar 2009
Posts: 477
Thanks: 11
Thanked 1 time in 1 post
|
Sent you an email...
|
|
|
|
|
|
#6 |
|
Junior Member
Join Date: Apr 2009
Posts: 28
Thanks: 0
Thanked 0 times in 0 posts
|
hi,
I have ,erged data from March to Septenmer 09 and when i run a strategy on the entire March to Sep period at once i get different results every time. This seems to only happen to large periods of back testing time frames. What i noticed is that when i look back through chart that the strategy regularly skips days or weeks at random which seems to be the cause of the inconsistent results and i have friends who experience the same error when testing long periods. Is this a known issue of how can i fix this? |
|
|
|
|
|
#7 |
|
NinjaTrader Customer Service
Join Date: Aug 2007
Location: Breda, Netherlands
Posts: 11,234
Thanks: 83
Thanked 336 times in 328 posts
|
Hello bologc,
Please start a new thread in the future. When the strategy skips data, the data is present in the chart, correct? Could it be different data is used when the results differ? Is there any consistency between the occurrences when data is skipped?
Jason
NinjaTrader Customer Service |
|
|
|
|
|
#8 |
|
Junior Member
Join Date: Apr 2009
Posts: 28
Thanks: 0
Thanked 0 times in 0 posts
|
the same exact data is used in all tests,
the inconsistency is consistent in the fact that this only occour when i run large periods of back testing. I went in the chart view after running the strategy and i can visually see where the chart data is missing for a few days or weeks, while on the other screen the same strategy on the same data doesn't have this issue. Also if i rerun the strategy the missing data reapears but then some other dates go missing |
|
|
|
|
|
#9 |
|
NinjaTrader Customer Service
Join Date: Aug 2007
Location: Breda, Netherlands
Posts: 11,234
Thanks: 83
Thanked 336 times in 328 posts
|
Hello bologc,
What happens if you create a chart for the same data request? Do you display all requested data at once? Upon performing the backtest, are you connected to a data feed?
Jason
NinjaTrader Customer Service |
|
|
|
|
|
#10 |
|
Junior Member
Join Date: Apr 2009
Posts: 28
Thanks: 0
Thanked 0 times in 0 posts
|
when i load a chart the data is there.
and connected ot live or not make no difference i tried both i merged the june and sep contract in the dec. so it is one hurge 1209 contract. just seems like ninja gets confusedor runs out of memory when i tries ot load the hole contract in the strategy la analyser |
|
|
|
|
|
#11 |
|
NinjaTrader Customer Service
Join Date: Aug 2007
Location: Breda, Netherlands
Posts: 11,234
Thanks: 83
Thanked 336 times in 328 posts
|
What happens if you backtest the SampleMACrossOver strategy on the same set of data; does the issue persist?
Jason
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Ninja trader crashing | maxpi | Miscellaneous Support | 5 | 06-02-2009 11:41 AM |
| Strategy crashing | mballagan | Miscellaneous Support | 4 | 05-28-2009 08:31 AM |
| Crashing For Nothing!again! | Mike_32 | General Programming | 2 | 03-27-2009 04:22 AM |
| NT6 keeps crashing | molecool | Miscellaneous Support | 14 | 03-09-2009 11:42 AM |
| Freezing Crashing | Mike_32 | Miscellaneous Support | 7 | 10-01-2008 04:52 AM |