Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Problems getting chart updates for data

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

    Problems getting chart updates for data

    NT started having problems earlier today with charts freezing. Things got progressively worse through the evening as I tried to work on backtesting. I have one instrument that properly updated out of the 4 I normally maintain.

    I reset the DB, cleaned the DB, restarted and continue to have problems. I've cut data lookback times to 10 days and turned off every other data option that I think could cause a performance problem. ie sim data, storing data, etc.

    I'd sure like to have this working by US market open....

    #2
    BTW I have confirmed that I am getting data from my DTN feed.

    Comment


      #3
      Please see the link below for more suggestions to reduce the RAM load of NinjaTrader.


      Make sure you do not have workspaces running in the background. They are listed at File-->Workspaces between "Save Workspace As" and "Default". They will request data and RAM as well.

      Reduce the amount of indicators on your chart if you have these applied. Make sure their "Calculate on bar close" option is set to True.

      If the issue persists, please reduce the amount of other windows in your workspace.

      Comment


        #4
        I am well ahead of you on these suggestions. This is not a new configuration for me.. it is the same setup I have been trading for a couple of weeks. It has suddenly ground to a halt.

        This morning, I have 3 of 4 instrument charts updating, but the 4th is hung with data from the 13th, even though I traded it all day yesterday and had data for the 14th...

        Comment


          #5
          If you close the 4th chart and open up a new one, does it populate with data?

          Try right clicking in the chart and select "Reload Historical Data".

          Comment


            #6
            So far... no.. I tried to force a reload of historical data and that dialog box is still up. I then tried your suggestion of a new chart, but the chart is just blank and the "Loading data" dialog box is still up.

            Comment


              #7
              I suggest to close this workspace and create a new one. Save the workspace under a different name and check if the issue persists using the new workspace.

              Comment


                #8
                Ok, after the amount of time it has taken to write these two emails, I now have a chart running on that market.

                Here is the followup question:
                I went back and forth with NT support on a similar issue about 6 months ago before I purchased NT. It makes new sense to me that I can open up 2 charts on the same instrument and EACH chart will take over 2 minutes to load. It makes me question the cache efficiency. I see similar issues when backtesting where NT will reload for every backtest run.

                I'm ok with this if it is a recognized problem and we have some hope of improvement with NT7. I am very concerned if this is still an unrecognized problem with no end in sight.

                Comment


                  #9
                  Could you please check if the charts use the same interval and if the look back period is the same. If not, NinjaTrader will request the data from your data feed provider.

                  NinjaTrader will load data using cache/database when you would change intervals of same interval type (tick, minute, daily) in the same chart.

                  Comment


                    #10
                    I've seen the behavior using minute charts in intervals of 1, 5, 8, 15, 30, 60,... I seem to see the same behavior using Volume and Range charts.

                    I guess it makes no sense to me that if I am getting tick data from my data provider, that Ninja should be doing anything but requesting missing tick data and rendering that tick data through local cache/db reads into whatever interval I request. That does not appear to be the behavior.

                    I also cannot explain why I can run backtest after backtest of the same instrument and interval and sometimes it will go through a loading stage for the data, and other times it does not.

                    Sorry to sound whiny, but it seems there is a code problem here. If there is not a code problem, then I think that I am trainable enough to solve the problem through different behavior. The later solution does not seem to be working.

                    For reference, the past support thread was about 6 months ago with Jessica. I gave up on NT at that time given how long it was taking just to bring up an environment. But.. I am baaack and am a paying customer now. :-)

                    BTW, this is running on a 2.4ghz Quad core with 8GB of RAM. I don't have a resource problem.

                    Comment


                      #11
                      Let me add another example since it is fresh and in front of me at the moment...

                      I have been backtesting a strategy on the EMD continuous contract for over 2 weeks now. Same time interval, same range of data (1/1/2008 to today). The first run of the backtest must have taken 15 minutes to run. Just right clicking on the Instrument symbol to rerun the strategy caused the Data Loading dialog to pop up and it did something for about a minute.

                      Why?

                      Comment


                        #12
                        During the minute the dialogue box is displayed NinjaTrader is recalculating your backtest results.

                        Please take a look at the following link, which will provide you more information on how NinjaTrader loads data.


                        In addition, I suggest to disconnect from your data feed provider once you downloaded the data, which you will use to backtest on.

                        Comment


                          #13
                          As I dig into this further, I am not getting a full continuous contract data for this symbol. I suspect that NT is spending a lot of time trying to get that data. Knowing what it is doing would help here.

                          The calculation should not take a minute. I can see that in the backtesting Prints that I am seeing. The backtest process sits "loading data" for about 5 minutes per run, but the calculation takes only a about 1 second.

                          We are spending time doing things that we should not be doing. If we cannot get the data, it seems some notice of that and returning more quickly would be a better response. The system is unuseable if we are going to continue to take this long to run the backtests.

                          I've read the references about what/when NT loads data. That is why I am concluding that there are other problems here. Once I have local data, I should not be spending a lot of time reloading it.

                          Comment


                            #14
                            Hi all,
                            Jason I have the same and probably an extension to the problem identified by OP. At EOD I playback some charts for testing/sim but when I load up the charts, no data scrolls. The Replay will be running. The charts will charts will show previous date - meaning they are not sync'ed with the playback. So I repair the database (thanks Jessica) and then it works for sometime.

                            The problem presents itself once I change instruments. I have all the playback data so I would have presumed no issues about lack of sufficient data.

                            This issue has got progrssively worse over the last week or two. I have two computers with ample resources. This was never a problem before. Only my humble opinion, but I do strongly feel NT caching is an issue. I use another platform (less superior but resource hog) and runs smoothly w/o drama. Note the two apps are never run simultaneously on the same machine.

                            Cheers,
                            SA

                            Comment


                              #15
                              Hello RandyT,

                              NinjaTrader works as described in the link I provided regarding reloading data. Even if you have data loaded in your database, but then reload the same chart with a different time frame or instrument type, all data will be reloaded. It will also reload if the exact same time frame is used; it will only load from the database as described in the link.

                              I will forward your suggestion to never reload data which is already loaded in the database to our development team and ask them if they can add this to the list of future considerations for the software.

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by argusthome, 03-08-2026, 10:06 AM
                              0 responses
                              88 views
                              0 likes
                              Last Post argusthome  
                              Started by NabilKhattabi, 03-06-2026, 11:18 AM
                              0 responses
                              48 views
                              0 likes
                              Last Post NabilKhattabi  
                              Started by Deep42, 03-06-2026, 12:28 AM
                              0 responses
                              30 views
                              0 likes
                              Last Post Deep42
                              by Deep42
                               
                              Started by TheRealMorford, 03-05-2026, 06:15 PM
                              0 responses
                              33 views
                              0 likes
                              Last Post TheRealMorford  
                              Started by Mindset, 02-28-2026, 06:16 AM
                              0 responses
                              68 views
                              0 likes
                              Last Post Mindset
                              by Mindset
                               
                              Working...
                              X