Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Stuck on Loading Data... cache problem?

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

    Stuck on Loading Data... cache problem?

    I am getting this problem where I cannot load charts... every time I try to load a chart where the cache has already been constructed, I get a "Loading Data..." message that just hangs and does not go away. If I shut down NT, clear the cache directory, and restart, the bars build fine... but when I try to reload at that point from the newly built bar cache data it just hangs. There is no message in the trace file or log that indicates any error. Is this a known issue with B19?

    (Also, when I exit the program after I get stuck like this, I have to go into Task Manager and manually kill the NT process, since it seems to be in some kind of deadlock loop and doesn't exit properly.)

    #2
    Hi JS999,

    Thanks for your post.

    1.) Who is your data provider?

    2.) Can you give me an idea of what you're trying to load?
    KyleNinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_Kyle View Post
      Hi JS999,

      Thanks for your post.

      1.) Who is your data provider?

      2.) Can you give me an idea of what you're trying to load?
      Data provider is Zen-Fire. This is not a provider issue, since I have multiple installs connected to the same feed and the others are working just fine.

      I am trying to load CL 09-10. The problem seems to be intermittent. For example, I just shut down NT, and tried to load it up again... now it works, at least for the charts that I already had loaded in my workspace. Sometimes it loads a few of them and the others get stuck on Loading Data... and sometimes they all get stuck. I just tried to open a new chart for CL 09-10 on top of my normal workspace charts and this one is now stuck, although the others are fine.

      It seems as though the entire program gets stuck if even one chart screws up, making it impossible to do Reload Historical Data on anything else. If I close the offending chart, it doesn't help - the system is permanently stuck and no charts can reload. When I exit the program in this case, even if I shut down the offending chart, I have to manually kill the process in Task Manager as I stated. So basically as soon as one chart gets screwed up in the Loading Data... process, the entire program is pretty much toast since you can't load anything else and have to restart.

      Comment


        #4
        Yep, getting stuck loading absolutely anything at all... cannot create a new chart apart from the 6 that are already in my workspace, the system just hangs. I _can_ create new charts in my other NT 7 B19 installations connected to the same feed.

        Comment


          #5
          Hi JS999,

          What I'm looking for is an overview of the different charts you are running in your workspace, what intervals they use and how many days of data are being requested.
          KyleNinjaTrader Customer Service

          Comment


            #6
            Originally posted by NinjaTrader_Kyle View Post
            Hi JS999,

            What I'm looking for is an overview of the different charts you are running in your workspace, what intervals they use and how many days of data are being requested.
            I have been running with the same setup for months and it has been working fine, so that's not the issue. However, here it is:

            6 charts:

            10 minute, 300 bars back (equals 2 days of data)
            3 minute, 1000 bars back (equals 2 days of data)
            1 minute, 3000 bars back (equals 2 days of data)
            20 second, 9000 bars back (equals 2 days of data)
            3 range, 2 days back setting
            6 range, 2 days back setting

            That's it. Nothing special on the charts, just some moving averages and bollinger bands. Anyways, those charts actually load fine right now as I said... the issue is opening up a brand NEW chart. For a new chart, I have tried something as simple as a 10 minute chart looking 10 bars back, and it doesn't work.

            Comment


              #7
              Hi JS999,

              Just curious - if you open a new workspace, are you able to load the new chart?
              KyleNinjaTrader Customer Service

              Comment


                #8
                Originally posted by NinjaTrader_Kyle View Post
                Hi JS999,

                Just curious - if you open a new workspace, are you able to load the new chart?
                If I add a new chart to the current workspace and then exit and try to reload, the new chart gets stuck on Loading Data...

                Also, any charts that were "after" that one in the loading sequence do not get loaded. When I remove the new chart, everything works fine again.

                When I create a new workspace and try to load a chart, it just hangs. Anyways, I have to go now... I'll check in later...

                Comment


                  #9
                  Hi JS999,

                  When you find the time, please send a note to Support [AT] NinjaTrader [DOT] com with 'ATTN: Kyle' in the subject line.

                  In the message, please include the following:
                  1.) A link to this forum thread.

                  2.) Your workspace.
                  You'll find the workspace here: My Documents > NinjaTrader 7 > Workspaces
                  KyleNinjaTrader Customer Service

                  Comment


                    #10
                    Ninja Hangs when Loading Data

                    I have exactly the same problem.

                    I always connect to Zen Fire, then IQ Feed. The 'loading data' hang issue occurs frequently whenever I change the time frame in my daily chart (which uses IQ data) to minute. Can't do anything but force shut down.

                    Grrr, this is a very annoying bug


                    Thanks

                    Comment


                      #11
                      waverider,

                      Thanks for your post.

                      What amount of historical data is being requested in your chart?
                      KyleNinjaTrader Customer Service

                      Comment


                        #12
                        Ninja Hangs when Loading Data

                        30 days of 60 min data. Sometimes 45. Usually it's fine, but lately I've seen it hang quite often. Not sure if related to my move to Win 7 64bit using NT 6.5. Or a possible workspace corruption? (they seem to corrupt easily?).

                        Likewise I just got an error loading data - invalid symbol. But closing and re-opening the app sorts that problem out too.

                        Comment


                          #13
                          waverider,

                          You're running 6.5.1000.16 then? (To check: Help > About)

                          If so, please open the Documents > NinjaTrader 6.5 > DB folder, right click on the file named 'NinjaTrader' and select Properties.

                          What size is this file reported to be?
                          KyleNinjaTrader Customer Service

                          Comment


                            #14
                            Ninja Hangs when Loading Data

                            Yes.

                            Only 230,000 KB

                            Does the DB tend to corrupt when it becomes too large ??

                            How would one maintain it?

                            I note that 'reset db' doesn't really clean out historical data, you have to change the DB name and begin a new DB for that? (and loose my ATM strategies / Instruments etc).

                            I think I'll stop recording historic data since it is available through NT7 now ... Although it's nice to at least maintain a week or so, would be good to be able to clean out everything else...

                            Cheers

                            Comment


                              #15
                              waverider,

                              We tend to see a higher instance of related issues such as these when databases grow larger than 100 (or so) MB in size.

                              Please rename your database by following the steps listed below. Doing so will create a new database at start up. Due to this, historical chart data will need to be reloaded. Likewise, ATM strategy templates, custom instruments and instrument lists will need to be recreated.


                              To rename the DB:
                              • Shutdown NinjaTrader and Go to the Start Menu
                              • Select My Documents--> NinjaTrader 6.5--> DB--> NinjaTrader.MDB.
                              • Right click on NinjaTrader.MDB and select "Rename."
                              • Name it "NewNinjaTrader.MDB."
                              • Then restart the software.
                              KyleNinjaTrader Customer Service

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                              0 responses
                              601 views
                              0 likes
                              Last Post Geovanny Suaza  
                              Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                              0 responses
                              347 views
                              1 like
                              Last Post Geovanny Suaza  
                              Started by Mindset, 02-09-2026, 11:44 AM
                              0 responses
                              103 views
                              0 likes
                              Last Post Mindset
                              by Mindset
                               
                              Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                              0 responses
                              559 views
                              1 like
                              Last Post Geovanny Suaza  
                              Started by RFrosty, 01-28-2026, 06:49 PM
                              0 responses
                              558 views
                              1 like
                              Last Post RFrosty
                              by RFrosty
                               
                              Working...
                              X