Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Cleaning up db/data folder

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

    Cleaning up db/data folder

    I only use NT for routing my orders to my broker as I use another program for charting. I noticed that my NinjaTrader 7 folder under my documents was about 5GB. So, I manually deleted all the historical data under the data manager. Yet, under the db/data folder there are folders for every day in the past year, and these contain .ntm and .nt2 files. These are cumulatively taking up about 2.5GB of space. Is it safe to delete these folders? Is the best way to just do this manually, or is there a preferred way through the program?

    #2
    Hello JoshDance,

    Thank you for your post.

    The files you are looking at are Market Replay data files and you can delete this straight through the Windows navigator. You can turn off recording of replay data by going to Tools --> Options --> Data --> uncheck "Record for Market Replay"
    Ray S.NinjaTrader Customer Service

    Comment


      #3
      Thank you Ray.

      Comment


        #4
        One more related question: under NT7/db I have the NinjaTrader.sdf file, but I also have NinjaTrader.Old.sdf and OLDNinjaTrader.sdf ... if I recall, I manually renamed my database file in the past and probably left these files there; assuming I have a safe backup now, is it safe to delete these two old files?

        Comment


          #5
          Hello JoshDance,

          Yes, you can safely delete these files. The .sdf file named "NinjaTrader" in the db folder is the database file that NinjaTrader will use.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Mindset, 04-21-2026, 06:46 AM
          0 responses
          117 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by M4ndoo, 04-20-2026, 05:21 PM
          0 responses
          166 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Started by M4ndoo, 04-19-2026, 05:54 PM
          0 responses
          85 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Started by cmoran13, 04-16-2026, 01:02 PM
          0 responses
          130 views
          0 likes
          Last Post cmoran13  
          Started by PaulMohn, 04-10-2026, 11:11 AM
          0 responses
          88 views
          0 likes
          Last Post PaulMohn  
          Working...
          X