• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Very slow in loading or refreshing charts

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

    Very slow in loading or refreshing charts

    Hello,

    This issue recently came about, symptoms:
    (1) When I press F5 to reload a chart, it takes a long long time. For a 1-minute chart over 3 days, it takes a number of minutes when it used to take 1-2 seconds. The status bar at the Control Center wrote that it is loading data for 1 day.
    (2) When I connect to IB, and all the charts in the Workspace blank out and start to "Loading data...", it doesn't seem to complete, I have already waited for 20 mins. The status bar wrote "Saving".
    (3) It seems that if I shut down IB and Ninjatrader, reload both, the situation is better for the initial load, but after some time using them, situation (2) above occurs again.

    Is it issue that it is stuck in "Saving" because it is trying to save the historical chart data but the database file is too huge?

    How should I resolve the issues above?

    Thanks.

    #2
    Hello,

    Thank you for your post.

    Please contact me by email at Support AT NinjaTrader DOT com. In the message, please include a link to this forum thread and a copy of today's trace file.

    The file is located in the Documents > NinjaTrader 7 > Trace folder. I would need the 'trace.20130613.txt' file.
    KyleNinjaTrader Customer Service

    Comment


      #3
      Has there been any resolution to this post? I have had the same issue for quite some time, that keeps getting worse. It takes 1/2 hour to open my charts where it use to take a min or two. I don't even dare do a refresh as it takes another half hour.

      Can I just delete all history, if I am not interested in it? and if so, how might I go about that?

      Thanks,
      Steve

      Comment


        #4
        Hello stevevogel,


        Thank you for your forum post.


        This situation can occur due to multiple different reasons and there is not a single solution that will resolve all situations. We would need to review your trace and log files directly to see if any errors are occurring as well as investigating your workspace setups.


        Please use the steps I have provided below to delete your historical data:
        • Close NinjaTrader
        • Documents
        • NinjaTrader 7
        • Open the db folder
        • Delete the Tick, Minute, Day and Cache folders
        • Restart NinjaTrader
        • Connect
        Ryan L.NinjaTrader Customer Service

        Comment


          #5
          Hi Steve,

          The advice given previously was:

          Can you please exit NinjaTrader and go to C:\-->Users-->*Windows user account*-->Documents-->NinjaTrader 7-->db and delete the "cache" folder. Start NinjaTrader and check if charts load data as expected.

          Once you deleted the db-->cache folder, a new folder will be created. This folder is used to quickly load data in charts - the actual data is saved in the tick, minute and day folders. So the first time data will take a little longer to load than usual. Once all data is loaded, it should load data quickly again.
          I used to keep my computer on running for many days - weeks. I did the instructions above, and now I'm shutting down and starting up each day, seems to be ok now.

          Comment


            #6
            I deleted all of the directories listed and it took care of my problem. Everything continues to load quickly. I'm pleased!

            Thanks,

            Comment


              #7
              Database maintenance

              Originally posted by NinjaTrader_RyanL View Post
              Hello stevevogel,


              Thank you for your forum post.


              This situation can occur due to multiple different reasons and there is not a single solution that will resolve all situations. We would need to review your trace and log files directly to see if any errors are occurring as well as investigating your workspace setups.


              Please use the steps I have provided below to delete your historical data:
              • Close NinjaTrader
              • Documents
              • NinjaTrader 7
              • Open the db folder
              • Delete the Tick, Minute, Day and Cache folders
              • Restart NinjaTrader
              • Connect
              This resolved the same issue I had as well, is this something I should do in a routine to avoid this issue in the future? Are there any other recommended database maintenance routines I should complete each week to keep things running smoothly?
              Brian

              Comment


                #8
                Hello XxBRIANxX,


                Thank you for your forum post.


                You would only want to perform this step if for any reason your charts are not loading as expected and reloading the historical data from the chart or the historical data manager does not help to resolve the situation.

                You should not have to perform weekly database management. You will only want to reset or repair a database if you experience an issue or some corruption.
                Ryan L.NinjaTrader Customer Service

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by aligator, Today, 01:49 PM
                1 response
                4 views
                0 likes
                Last Post NinjaTrader_ChrisL  
                Started by KINGKODA, Today, 12:08 PM
                1 response
                12 views
                0 likes
                Last Post NinjaTrader_Jim  
                Started by zulok, Today, 12:54 PM
                3 responses
                6 views
                0 likes
                Last Post NinjaTrader_Jesse  
                Started by RadarTradar, 01-04-2020, 10:02 AM
                12 responses
                132 views
                0 likes
                Last Post Eric M.
                by Eric M.
                 
                Started by [email protected], Today, 10:54 AM
                3 responses
                20 views
                0 likes
                Last Post NinjaTrader_ShawnB  
                Working...
                X