NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > Application Technical Support > Miscellaneous Support

Miscellaneous Support Miscellaneous support issues.

Reply
 
Thread Tools Display Modes
Old 03-14-2009, 07:21 AM   #1
cunparis
Senior Member
 
Join Date: Feb 2008
Location: Paris
Posts: 710
Thanks: 10
Thanked 10 times in 7 posts
Default NT crashes when importing symbol list when symbols already exist in the list

I import a symbol list into an existing instrument list and NT crashes every time. Here is the trace:

Code:
2009-03-14 14:17:44:996 ApplicationStart done, took 12.7 secs
2009-03-14 14:18:04:049 in OnUnhandledThreadException
2009-03-14 14:18:04:052 ********* exception trapped *********
2009-03-14 14:18:04:052 Item has already been added. Key in dictionary: '8fd554f344c84d0e9d60d0fcc48d24e6'  Key being added: '8fd554f344c84d0e9d60d0fcc48d24e6'
2009-03-14 14:18:04:052    at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add)
   at System.Collections.Hashtable.Add(Object key, Object value)
   at Wilson.ORMapper.ObjectSet.Add(Object objectKey, Object entityObject)
   at Wilson.ORMapper.ObjectList.Add(Object entityObject)
   at NinjaTrader.Cbi.StockImport.OnOk(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(MouseEventArgs 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.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
I'm pretty sure it's because the symbols I paste into the dialog box already exist in the list (not all of them but some of them) and that NT can't handle this. If I create a new list then it works fine.
Last edited by cunparis; 03-14-2009 at 07:23 AM.
cunparis is offline  
Reply With Quote
Old 03-14-2009, 10:07 AM   #2
NinjaTrader_Dierk
Administrator
 
NinjaTrader_Dierk's Avatar
 
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
Default

Could you please provide a simple as possible scenario including all details/data needed to reproduce the issue? Thanks
NinjaTrader_Dierk is offline  
Reply With Quote
Old 03-14-2009, 04:01 PM   #3
cunparis
Senior Member
 
Join Date: Feb 2008
Location: Paris
Posts: 710
Thanks: 10
Thanked 10 times in 7 posts
Default

Quote:
Originally Posted by NinjaTrader_Dierk View Post
Could you please provide a simple as possible scenario including all details/data needed to reproduce the issue? Thanks
This is weird, I reproduced it twice in a row earlier and now I went to try it again and it worked properly. The only difference is my watchlist, but unfortunately I didn't save the watchlist that was crashing it.

If it happens again I'll post it. It must have been something else, something unique to that watchlist.
cunparis is offline  
Reply With Quote
Old 03-14-2009, 04:17 PM   #4
NinjaTrader_Dierk
Administrator
 
NinjaTrader_Dierk's Avatar
 
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
Default

Thanks for feedback. Please let us know...
NinjaTrader_Dierk is offline  
Reply With Quote
Old 03-21-2009, 02:18 AM   #5
maxima
Senior Member
 
Join Date: Apr 2008
Posts: 298
Thanks: 4
Thanked 0 times in 0 posts
Default

Sorry for hijacking. Where can I get stocks list to import. I dont want to do it by hand.

Sure I am not the only person who wants that. Is there something NT can provide with? Or may be some community free source of common stocks?

I would like to see at least all LSE, NYSE, NASDAQ symbols.
maxima is offline  
Reply With Quote
Old 03-21-2009, 04:09 AM   #6
NinjaTrader_Dierk
Administrator
 
NinjaTrader_Dierk's Avatar
 
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
Default

Please post unrelated issues in a new thread. We treat all threads with the same attention.

Please try File->Uitilities->Import stock symbol list and related documentation.
NinjaTrader_Dierk is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
importing tick data into fictitious symbol for backtesting diffused Strategy Analyzer 2 03-02-2009 02:54 PM
Import symbol already in list causes exception Pete S Miscellaneous Support 1 04-20-2008 11:01 PM
If NT crashes after importing symbol list, list is not saved Pete S Historical NinjaTrader 6.5 Beta Threads 4 03-16-2008 06:10 AM
Importing stocks into a list should use 'Default' exchange Pete S Historical NinjaTrader 6.5 Beta Threads 5 03-14-2008 08:05 AM
Importing the SP500 stock list 1reason Miscellaneous Support 6 01-22-2008 08:37 AM


All times are GMT -6. The time now is 08:56 AM.