Charts freezing and constantly being asked to rollover contracts

I have some issues, NT is crashing multiple times a day. Right now, when I placed orders, the chart will freeze and the entire app needs restarting.

Furthermore, every time I open the app I’ve asked to rollover contracts, even when clicking yes it will ask me again next time. Anyone know how to fix this things?

1 Like

I’ve never experienced this problem, but the first thing I would try as a trouble shooting step is clearing the code cache and all the data db folders. If that doesn’t work I would also try removing the db\NinjaTrader.sqlite database to force NT to create a fresh one.

Defintely keep backups of these files. If the cleanup fixes the issue you can start adding them back 1 by 1 until the problem re-occurs, then you’ll know the source of the issue. If the cleanup doesn’t fix the problem, you can just put all your backups back in place and may want to contact the official support email at that point.

Documents\NinjaTrader 8 \cache
Documents\NinjaTrader 8 \db\cache
Documents\NinjaTrader 8 \db\tick
Documents\NinjaTrader 8 \db\minute
Documents\NinjaTrader 8 \db\day\

2 Likes

thanks, will try that

Re. the crashing/freezing issue, several years ago I saw some advice somewhere–I don’t remember where–suggesting the following: “Clear the database in the control center. Go to tools>database>reset database. Do this at least weekly.
To delete cache follow the steps below. This should be done daily before trading and in the middle of the day if charts start to freeze.
Shut down ninjatrader. Open Documents>ninjatrader 8>db folder. Delete the subfolder named ‘cache’. Restart the computer, not just NT, restart the entire computer. Clear cache on all browsers. Restart again. Then reopen NT.
To reset database in ninjatrader–this should be done a couple of times per week–this can take a while if you have not done it before or recently. Could take 20-30 mins to reset. But will help NT run so much better.
In Ninja control panel go to tools>database management>reset database. Yes have both items check marked and click ‘reset’. This does not clear all your settings or workspaces. Just stored items that can cause NT to run slower.”
That was all quoted. The advice was provided for an older version of NT. At the time I did confirm with ninja support that it would be helpful. You will lose any placed orders from your charts and history when you clear the database. I have done it many times and does seem to help. It has never caused issues for me. But you will have to decide if you are comfortable with it.
Re. the rollovers: Do you have any old workspaces that you do not use? If so, you will have to open each one and rollover everything in them to stop getting the notification. If you don’t have any unused workspaces, then I don’t have an answer.
Hope this helps.

1 Like