NinjaTrader 8.1.6

Why are you so hell bent on denying that it COULD also be indicators or strategies for some? I guess it’s difficult for you to comprehend there could be multiple possible causes, including mentioning that it could be the platform itself, which I have mentioned multiple times. What have I posted that you don’t understand? Do you not understand that I have mentioned that it could be the platform too?

Also, the point made in another thread about Kraken buying Ninjatrader only for the licenses may be key. Let’s see what they do with the NT8 platform in the near future.

1 Like

Support declining doesn’t surprise me at all. It’s quite common for larger companies to lay off some employees of smaller companies after an acquisition. I’ve worked two companies that got acquired and have seen this happen. Also, have seen larger companies acquire smaller companies just to not do much, but to get rid of the competition, which I don’t think is the case for NinjaTrader.

Hi Community,
About delayed starting, seems is related to the option on Connections " connect on startup". Unchecking the option seems to left NinjaTrader starting faster. I don’t know why. I have a developed addon and trying to find some help on this matter.

3 Likes

I was already thinking a few days ago: How many servers do you need to serve 500,000 users? Maybe there is a bottleneck in these connections.

And more important: Did Kraken reduce the number of NT servers?

Maybe Kraken can answer these questions?

2 Likes

I usually connect by just clicking the default Live connection. I created a new connection with the connect on startup checked, used a stopwatch and it’s approximately the same time for me.

1 Like

I upgraded to 8.1.6 about a week ago. Initially I didn’t notice anything but after a few days in, my workspace has been loading differently. A few things to note:

  • I use Kinetick for data
  • I use Interactive Brokers for trading
  • Kinetick is set to connect auto on start up but I manually connect to Interactive Brokers.

I always start up with an empty workspace, then switch to the one I wish to use.

Loading my larger workspace I see that it definitely loads slower/differently then before. Windows pop up in a different order (I have a lot of them). It does seem slower but not as drastic as others have reported.

The other issue I get is a "Unhandled excpetion: “Unhandled exception: Not enough quota is available to process this command” . This is an error I have seen occasionally in the past but never this consistently. When I used to get this exception I would get a message box for every single one in the log. Now I get only one, despite seeing multiple errors in the log. I am still investigating this particular issue. I did find some areas of improvment in my custom code which helped but has not yet fixed it.

Here are some things to try for other users having issues

  1. Clear out “NinjaTrader 8\Cache” folder.
  2. Clear out “NinjaTrader 8\db\cache” folders.

I have had to clear these folders out from time to time in my use of NinjaTrader. I look at a lot of instruments and if I see perfomrance of NinjaTrader struggling, clearing out #2 has often improved things.

Most Important.

Open UI.XML and remove everything in the section of the XML. Perhaps this will improve performance for those with drastically differnet load times. Below is some more details regarding this issue.

Years ago I noticed a stead slow down in launching NinjaTrader. After debugging I discovered that the “Most recent” instruments list stored in UI.XML was very big. That list grows without ever getting smaller storing every Instrument you visit. (at least it did at the time). If I cleared out this list NinjaTrader’s start up time was drastic. I reported the issue to NinjaTrader. I made a workaround that will open UI.XML before launching NinjaTrader and empty this list. I have been using the utility ever since on launch to wipe out the recent instruments list. They supposedly fixed it many releases ago but I never tested to see if they fix it.

3 Likes

So this means delete everything between NinjaTrader tags right? I just did that and my xml went from 1955 lines to 7. Not many recent instruments, but a whole lot of other stuff.

By the way, if your TWS for IB ever gets sluggish, the xml file for tws get bloated as well, slowing it down. I’ve run into this in the past.

Shutdown NT8, delete everthing between the NinjaTrader tags, restart.

I’m on the second most recent NT8.

2 Likes

Just the stuff between the tag.

So this

  <RecentInstruments>
    <RecentInstrument>AAPL</RecentInstrument>
  </RecentInstruments>

Becomes

  <RecentInstruments>
  </RecentInstruments>

As I mentioned, I do not know if this will improve performance. They said the bug for this was fixed a while back. I have never seen anything in the UI that shows the entire list so having it grow indefinitely seems pointless.

All this time and still nothing . went back to 8.1.5.2 . All working well again . Talk about cock ups . Ninja used to be so good with support . had no idea they sold .

I may have found the cause of the signficant slow downs for people.

The short version: If your workspace has a lot of drawing files it can take minutes for the workspace to load. The more drawings in a singal chart, the longer its going to take. Purge all drawings from your workspace file and it will load faster.

I was testing out workspaces I have with LOTS of drawing tools in them. 100’s to 1000’s in one chart. Support/resistance lines and other such drawing objects placed in the chart for various instruments. These workspaces were things I created over time and reused during trading. I never bothered to delete the old drawing tools. They would not be visible as time goes on because they woudl be out of range for the chart or the instrument is different.

8.1.6
Load a workspace with a single chart that has 100’s to 1000’s of drawing objects and it will take forever to load.

8.1.5.2
Take the same worksapce file and it loads in the expected amount of time.

Some things to note:

  • The drawing objects are for different instruments. There are at most only dozens of drawings for a single instrument in the chart and even then it will not all be visible unless the date range is months to years.
  • The problem is worse when all the drawing objects belong to the same chart.

I will be switching back to 8.1.5.2 and contacting NinjaTrader to report this bug.

I have reproduced this with a simple workspace file that creates a line for each 1 minute candle of AAPL the size of the candle. I created about 2000 of them.

The workspace 5 opens in about 5 seconds in 8.1.5.2 and takes 60 seconds in 8.1.6. I did this with fresh installations of NinjaTrader using it out of the box with no custom indicators or scripts of any kind. Apparently we cannot attache files to posts though.

6 Likes

Indeed, you cannot attach files. The result is that a lot of information cannot be shared anymore. I wanted to attach a free indicator last week and could not. So sharing things has become impossible. Again something that was deleted since the take-over by Kraken.
The deterioration of NT8 is happening in all areas.

1 Like

#ntbone - appreciate your efforts, thank you. Your findings could certainly fit with my (very short) experience with .16. All I ever do is draw Horizontal Lines. By the end of the week I have rather a lot, & Delete All ahead of the new week. It was end of week when I installed & tried .16 so lots of Lines.
Best,

I newly installed NT8.6.1. I delete all drawing objects. I have two charts MNQ and MES. It takes NT8.1.6 THIRTY 30 MINUTES to load. But in 8.1.5.2 it takes a minute or two to load the same exact charts. Not good.

How many times did you start again and checked the time? Because the first start after install can need much more time than usual. So only the time of a second or third start is relevant.

1 Like

Hi. Thanks for your thoughts! I exited NT and started it up again (again it took 30+ minutes), so I created a new Workspace named Empty, which contained ONLY the NT Control Center… no charts, no analyzer, no nothing. Saved everything, closed the original workspace and exited and saved on the Empty workspace. I rebooted and the Empty workspace also took over 30 minutes to load. I have put in a support message.

We’re almost at 100!

1 Like

What happens when you use a fresh install?

Try this.

  1. Rename your NinjaTrader 8 folder (Say “NinjaTrader 8 - Working”)
  2. Uninstall NinjaTrader 8
  3. Reinstall NinjaTrader 8

Launch it and see how long it takes to load?

After this test, to restore your original folder,

  1. Exit NinjaTrader
  2. Delete the NinjaTrader 8 folder
  3. Rename “NinjaTrader 8 -Working” back to “NinjaTrader 8”

It should not take 30 minutes to load. This sounds like a different issue from the drawing tools since you are having it take a very long time to load with no charts at all.

Some things that may cause an issue

  1. The thing I mentioned. Though they said they fixed it a while ago, it could be affecting things.
  2. Your db\cache folder. This can get large/corrupted over time. Clearing it should help. This shouldnt’ affect a workspace with no chart though I think.

Even when I had a chart with lots of drawing objects (1000’s) it only took a few minutes (vs a few seconds) to load the Workspace with the chart.

NinjaTrader itself starts up just fine.

Do you have NinjaTrader set Reopen all previously open worksapces? This is in Settings->General->“Reopen all previously open workspaces at startup”. I believe if this is checked it will try to open them all instead of the most recent one.

1 Like

Thank you for your ideas. I have installed uninstalled reinstalled uninstalled reinstalled… no change. Once NT loaded, then everything was normal. So with no workspaces and with a workspace, the same problem- 30+ minute load time. Support kept trying to fix workspaces but the problem happens before it gets to workspaces. Anyway, I have uninstalled, renamed the document and program folders to OLD, and have installed 8.6.1 and am starting all over again from scratch. Thank you again for your thoughts.

One more after this.

1 Like