Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NT crashes when importing symbol list when symbols already exist in the list

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    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, 07:23 AM.

    #2
    Could you please provide a simple as possible scenario including all details/data needed to reproduce the issue? Thanks

    Comment


      #3
      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.

      Comment


        #4
        Thanks for feedback. Please let us know...

        Comment


          #5
          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.

          Comment


            #6
            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.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by NullPointStrategies, Today, 05:17 AM
            0 responses
            43 views
            0 likes
            Last Post NullPointStrategies  
            Started by argusthome, 03-08-2026, 10:06 AM
            0 responses
            124 views
            0 likes
            Last Post argusthome  
            Started by NabilKhattabi, 03-06-2026, 11:18 AM
            0 responses
            65 views
            0 likes
            Last Post NabilKhattabi  
            Started by Deep42, 03-06-2026, 12:28 AM
            0 responses
            42 views
            0 likes
            Last Post Deep42
            by Deep42
             
            Started by TheRealMorford, 03-05-2026, 06:15 PM
            0 responses
            46 views
            0 likes
            Last Post TheRealMorford  
            Working...
            X