Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Unable to import historical tick data

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

    Unable to import historical tick data

    I am unable to import historical tick data that I purchased from Disktrading on the web. It will begin importing the data and at some random percentage uploaded, it will give the same error message and need to abort. Not sure what is causing this or what to do. 1 min and daily historical data from the same source import just fine, no problems.

    #2
    Please check the log tab, any specific error messages?
    RayNinjaTrader Customer Service

    Comment


      #3
      I get one of 3 different errors.

      1. Volume in line 1 (or 2) is invalid since it is <= 0. This line and subsequent invalid volume lines have been modified and replaced by a value of 1.

      2. Failed to call 'Add' method for period type 'Tick': Exception of type 'System.OutOfMemoryException' was thrown.

      3. $EURUSD: Date/Time format error in line 32322846: Exception of type 'System.OutOfMemoryException' was thrown.: '20040123 152000; 1.2592,0'

      Comment


        #4
        Hi pfdtrader24,

        How is your data formatted? From the last error message I think it is not formatted correctly. Please see this article: http://www.ninjatrader-support.com/H...V6/Import.html
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          On (2) and (3): Try to split up the import data files, since you hit the wall due to RAM excess.

          Comment


            #6
            Here is the format of the tick data (AUDUSD)

            20000630 110100 0.6003 0

            It all looks correct to me (except the 0 for volume?)

            The file sizes are very large and I tried to split the file up in Excel, but couldn't get it to import more than the first 1,048,576 rows (which is only the first 2 years of so, out of an approx. 10 year file). I am not experienced with Excel, so forgive me if I am overlooking something obvious. Thanks in advance for the help.

            Comment


              #7
              Put in some dummy value in replace of the zero.
              RayNinjaTrader Customer Service

              Comment


                #8
                Ray, I was just going to put a "1" in place of all zeros. Any idea as to how I can split up these large files to re-format/re-save them?

                Comment


                  #9
                  Just use any text editor, cut chunks out, put it into another file and save.
                  RayNinjaTrader Customer Service

                  Comment


                    #10
                    Tip: use BK ReplaceEm http://www.orbit.org/replace/
                    It is a lot faster than notepad.

                    Comment

                    Latest Posts

                    Collapse

                    Topics Statistics Last Post
                    Started by StockTrader88, 03-06-2021, 08:58 AM
                    45 responses
                    3,992 views
                    3 likes
                    Last Post johntraderuser2  
                    Started by TAJTrades, Today, 09:46 AM
                    0 responses
                    7 views
                    0 likes
                    Last Post TAJTrades  
                    Started by rhyminkevin, Yesterday, 04:58 PM
                    5 responses
                    62 views
                    0 likes
                    Last Post dp8282
                    by dp8282
                     
                    Started by realblubb, Today, 09:28 AM
                    0 responses
                    8 views
                    0 likes
                    Last Post realblubb  
                    Started by AaronKoRn, Yesterday, 09:49 PM
                    1 response
                    19 views
                    0 likes
                    Last Post Rikazkhan007  
                    Working...
                    X