Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Gap in historical data at midnight

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

    Gap in historical data at midnight

    When I start up NT beta 10, I notice that sometimes there is a gap in the data right around midnight. I have to choose "Reload Historical Data" and it goes away. This happens on all instruments on one particular installation of NT that I am running, which is monitoring a number of different markets. Has anyone else noticed this?

    #2
    Hello JS999,

    Could it be you experience a disconnection at the time the gap starts? Do you see anything in the Log-tab of the Control Center around this time?

    You mention that it occurs on a particular installation. Am I correct you run NinjaTrader 7 on other machines that do not experience the issue?

    If so, is there anything different regarding this particular installation compared to the others?

    Comment


      #3
      Originally posted by NinjaTrader_Jason View Post
      Hello JS999,

      Could it be you experience a disconnection at the time the gap starts? Do you see anything in the Log-tab of the Control Center around this time?

      You mention that it occurs on a particular installation. Am I correct you run NinjaTrader 7 on other machines that do not experience the issue?

      If so, is there anything different regarding this particular installation compared to the others?
      Actually when it is running I think it works fine. It's when I have it switched off overnight and then start up again in the morning that I see this, so it's not a disconnection issue, it's an issue with loading historical data on startup. I think I have seen it on more than one machine.

      Comment


        #4
        Ok, when you start NinjaTrader in the morning and do you not connect to your data feed yet, does the chart reflect the data that was present as per the previous session?

        If you now connect to your data feed and data is loaded, a gap appears?

        Could you please provide me reproducible steps so I can test it on my end.

        Comment


          #5
          JS999: Harry from our forum keeps reporting similar (?!?) issues. Can't find exact link right now, may be this one:


          Unfortunately we haven't been able to reproduce. May be there is value in sync'ing with him in order to isolate the "missing piece".

          Comment


            #6
            Originally posted by NinjaTrader_Jason View Post
            Ok, when you start NinjaTrader in the morning and do you not connect to your data feed yet, does the chart reflect the data that was present as per the previous session?
            The previous session's data is there. I have my sessions set to Default 24/7.

            If you now connect to your data feed and data is loaded, a gap appears?
            Correct. There is a gap right around midnight. I have seen this on more than one installation. It definitely occurs on Range bar charts, but I think I have also seen it for minute-based charts too. There is simply some data missing between the start of the session and whatever the current time is (let's say today it was 7:30 AM when I turned it on). So I will see some data which begins after midnight and goes to the current time, but some data right after midnight is missing. When I hit Reload Historical Data, it appears. All of the data from previous sessions is there.

            Comment


              #7
              Incidentally, try loading data for GC 04-10. There is a gap at midnight on 3/3 that is still there and persists even after reload.

              Comment


                #8
                What timezone is your PC?

                Comment


                  #9
                  Originally posted by NinjaTrader_Dierk View Post
                  What timezone is your PC?
                  Eastern standard time. I also have it sychronized with an atomic clock program that checks time with a number of internet servers every 2 minutes, so I know it's accurate.

                  Comment


                    #10
                    I just loaded GC 04-10, 1min, Default 24/7, fresh DB for the past few days. I could not see any gap at midnight 3/3. Could you please be specific? Thanks

                    Comment


                      #11
                      Originally posted by NinjaTrader_Dierk View Post
                      I just loaded GC 04-10, 1min, Default 24/7, fresh DB for the past few days. I could not see any gap at midnight 3/3. Could you please be specific? Thanks
                      Dierk, tick-based charts and minute based charts actually load from different sets of data. So if you have a range-bar chart up and a minute-based bar chart up, and if you hit Reload Historical Data on one of them, the other will not load. They are being loaded from separate data sets on your server, obviously. The gap I noticed was using Range charts... try it again using a 10 range chart and let me know if you see it.

                      Comment


                        #12
                        Yes I have hada similiar issue. The link cited below however is something different (daily bars are not correctly displayed between session end and midnight)

                        The thread on data gaps is here:



                        There are some similarites with the observations of JS 999, notably

                        (1) Gaps occur on connection
                        (2) Gaps disappear when reloading chart data

                        I made some further observations

                        (A) Gap may occur on one chart (example 5 min chart), but not on the other chart for the same instrument (example 30 min chart, same data base).
                        (B) When gap occurs, the data has been correctly loaded to the data base. This can be verified by editing the data via Historical Data Manager.
                        (C) Gap remains when changing chart template.
                        (D) Gap disappears when toggling to another instrument and back.

                        So in my case, it is not related to data loading, but to correctdisplay of the data loaded to the database. Points to some problem with internal synchronization of loading and displaying chart data, in particular when connecting to a workspace with several charts.

                        JS, can you confirm my findings (A) to (D) ?
                        Originally posted by NinjaTrader_Dierk View Post
                        JS999: Harry from our forum keeps reporting similar (?!?) issues. Can't find exact link right now, may be this one:


                        Unfortunately we haven't been able to reproduce. May be there is value in sync'ing with him in order to isolate the "missing piece".
                        Last edited by Harry; 03-05-2010, 09:11 AM.

                        Comment


                          #13
                          Hello JS999,

                          I tested a GC 04-10 range (10) chart and I did not see any gaps, see screenshot.

                          To what data feed do you connect?

                          Can you please ensure both charts use the 24/7 session template.
                          Attached Files

                          Comment


                            #14
                            Originally posted by NinjaTrader_Jason View Post
                            Hello JS999,

                            I tested a GC 04-10 range (10) chart and I did not see any gaps, see screenshot.

                            To what data feed do you connect?

                            Can you please ensure both charts use the 24/7 session template.
                            I connect through Zen-Fire at Mirus futures. However, the historical data servers are the domain of NT, aren't they? Aren't we all loading historical data from the same source which is controlled by you guys? Anyways, here is a screenshot. I just reloaded the data, and it's still missing.

                            This is typically what happens when the issue I described earlier occurs, however in this case the Reload Historical Data option is not solving it.
                            Attached Files

                            Comment


                              #15
                              Hello JS999,

                              I used Zen-Fire when I created the chart as well.

                              I tested it again, this time I used a 22 range interval, there is no gap on my end.

                              Can you please disconnect/re-connect to Zen-Fire. Try once more and check if the gap persists.

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                              0 responses
                              636 views
                              0 likes
                              Last Post Geovanny Suaza  
                              Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                              0 responses
                              366 views
                              1 like
                              Last Post Geovanny Suaza  
                              Started by Mindset, 02-09-2026, 11:44 AM
                              0 responses
                              107 views
                              0 likes
                              Last Post Mindset
                              by Mindset
                               
                              Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                              0 responses
                              568 views
                              1 like
                              Last Post Geovanny Suaza  
                              Started by RFrosty, 01-28-2026, 06:49 PM
                              0 responses
                              571 views
                              1 like
                              Last Post RFrosty
                              by RFrosty
                               
                              Working...
                              X