Skip to main content

How to Reset the NinjaTrader Database

Updated this week

If you’re experiencing issues such as missing trade history, chart data discrepancies, or performance slowdowns, resetting the NinjaTrader database can help resolve these problems by clearing out old or corrupted data. This process removes historical executions, orders, and logs — but does not affect your custom workspaces, indicators, or strategies.

⚠️ Warning: Resetting your database will permanently delete historical trade data, including orders and executions. Be sure to export or back up anything you wish to keep.

Resetting the NinjaTrader database is a quick way to resolve issues related to outdated instrument settings, incorrect mappings, or platform slowness. This process refreshes key system components without affecting your workspaces or strategies.

Step 1: Close All Active Positions and Disconnect

Before resetting, make sure you’re not in any active trades. Flatten all positions and disconnect from any data providers.


Step 2: Disconnect All Active Connections

Before making changes, disconnect from all brokers and data feeds:

  1. In the Control Center, go to the Connections menu

  2. Click on each active connection to disconnect it


Step 3: Open Database Management

  1. In the Control Center, go to Tools

  2. Select Database Management from the dropdown menu


Step 4: Select What to Reset

In the Database Management window, ensure the following boxes are checked:

  • ✅ General Properties

  • ✅ Futures Expiries

  • ✅ Symbol Mappings

  • ✅ Predefined Trading Hour Templates

Then click Update to apply the reset.


Step 5: Restart

After the update completes:

  1. Close and reopen NinjaTrader

  2. Restart your VPS to ensure changes take full effect

After the Reset

  • Reconnect to your broker or data feed

  • Reload any charts or strategies you were using

  • Monitor performance and test basic functions like order placement


Notes

  • This reset does not delete your orders, executions, strategies, or chart templates

  • It helps resolve symbol mismatches, contract roll issues, and trading hour conflicts

  • Restarting both NinjaTrader and your VPS ensures all settings reload cleanly


What Does a Database Reset Do?

  • Deletes all historical orders and executions

  • Clears out log and realtime performance data

  • Resets the internal trade history tracker

  • Leaves your workspaces, templates, and custom scripts untouched


When Should You Reset?

You may want to reset your database if:

  • Your order history is incorrect or not showing

  • You’ve experienced repeated order submission or connection issues

  • Performance has degraded without other explanation

  • You’re switching to a new data feed and want to start fresh

Did this answer your question?