Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Importing Tick Data Problem

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

    Importing Tick Data Problem

    Hi,

    I have tick data for AMZN that I want to import into my NT8, took a sample for 2023-03-29 and it looks like this;

    Click image for larger version

Name:	image.png
Views:	182
Size:	7.8 KB
ID:	1248878

    I used the Historical Data > Import tool as below to import the data into NT8 (8.0.22.2), it was successful

    Click image for larger version

Name:	image.png
Views:	168
Size:	22.0 KB
ID:	1248879

    I can see that tick data is in place as below;

    Click image for larger version

Name:	image.png
Views:	165
Size:	71.9 KB
ID:	1248880

    Now when I go to the chart (tick data option checked) and open 29th of March for AMZN, I'm only seeing 6 bars in total in a one minute chart, I tried different time frames, it's not working

    Click image for larger version

Name:	image.png
Views:	174
Size:	20.6 KB
ID:	1248881

    I tried with 1500 tick chart, doesn't look right either.

    Click image for larger version

Name:	image.png
Views:	175
Size:	21.9 KB
ID:	1248882

    Any idea where I might be going wrong with this data import?

    Thanks
    M​



    #2
    At a minimum your third column (the tick within the second) needs to have seven digits not six. I'm not sure if there are other problems. Ticks in .NET are 100 nanoseconds in length, so there are seven digits in the possible timestamp after the seconds position.

    I don't know for sure but I suspect that since your data is in the wrong format it is falling back to seconds precision and ignoring the subsecond information since it is not in the right format.

    See also: https://ninjatrader.com/support/help.../importing.htm expand the subsection: Tick Format (Sub Second Granularity)

    Bruce DeVault
    QuantKey Trading Vendor Services
    NinjaTrader Ecosystem Vendor - QuantKey

    Comment


      #3
      thanks @QuantKey_Bruce​, I made the change as you suggested, imported data for 30th of March

      Click image for larger version

Name:	image.png
Views:	171
Size:	23.9 KB
ID:	1248886
      Still seeing a similar picture

      Click image for larger version

Name:	image.png
Views:	169
Size:	27.0 KB
ID:	1248887

      Thanks
      M

      Comment


        #4
        Hello M,

        Note, that you will need to check the 'Generate 'Minute' bars from imported tick data' option if you are importing tick data and want to load a minute chart.

        That said, the data in the file appears to be for March 30th. There may be missing data from before this day.

        May I confirm you have compared the data in the historical data window to the imported file? Are there ticks missing in the historical data window that are in the file?
        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          Hi @NinjaTrader_ChelseaB​ thanks for looking into this. I deleted the previous import and imported the dataset again by checking the 'Generate 'Minute' bars this time, once again the chart doesn't show a proper 1 minute chart, looking at the instrument's minute data in the database (screenshot below), it only has 15 items with these random time blocks. really odd.

          Click image for larger version

Name:	image.png
Views:	171
Size:	77.1 KB
ID:	1249491
          And when I look at the Tick data items in the database, you can see from the screenshot below that there are thousands of items imported, but the chart is giving this very odd output for 1500 tick chart (Tick Replay checked in settings)

          Click image for larger version

Name:	image.png
Views:	156
Size:	104.1 KB
ID:	1249492
          Unfortunately it's just not working.

          Thanks
          M

          Comment


            #6
            Hello M,

            Which ticks are missing in the historical data window that are in the historical data text file?

            Or which ticks in the historical data window are not matching the text file?
            Chelsea B.NinjaTrader Customer Service

            Comment


              #7
              Hi NinjaTrader_ChelseaB​,

              They all seem to be matching, here you can see it in the screenshot below. The total number of imported rows matches the total number of lines that are the txt file as well.

              Click image for larger version

Name:	image.png
Views:	160
Size:	162.8 KB
ID:	1249509​Thanks
              M

              Comment


                #8
                Hello mntemel,

                If the data in the Historical Data window is matching what is in the text file, then this would be the same that is displaying on the chart.

                Open a 1 tick chart if you would like to compare with the Historical Data window and confirm.

                This would indicate that the data in the text file is not as you expect.
                Chelsea B.NinjaTrader Customer Service

                Comment


                  #9
                  @NinjaTrader_ChelseaB​ thank you, looks like there was a problem with my dataset, figured out the problem.

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by argusthome, 03-08-2026, 10:06 AM
                  0 responses
                  83 views
                  0 likes
                  Last Post argusthome  
                  Started by NabilKhattabi, 03-06-2026, 11:18 AM
                  0 responses
                  47 views
                  0 likes
                  Last Post NabilKhattabi  
                  Started by Deep42, 03-06-2026, 12:28 AM
                  0 responses
                  29 views
                  0 likes
                  Last Post Deep42
                  by Deep42
                   
                  Started by TheRealMorford, 03-05-2026, 06:15 PM
                  0 responses
                  32 views
                  0 likes
                  Last Post TheRealMorford  
                  Started by Mindset, 02-28-2026, 06:16 AM
                  0 responses
                  66 views
                  0 likes
                  Last Post Mindset
                  by Mindset
                   
                  Working...
                  X