Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Reset DB Keep ATM

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

    Reset DB Keep ATM

    My sqlite file is now way too big, > 1GB. I don't need to retain any old information except the ATM(s)

    My objective is to save space, reset the all DB and clean everything in the db also to clear space and lighten up the Ninjatrader platform.

    But I don't want to lose all my ATM(s)

    The best method I know to clean the db is to delete the sqlite file in addition to deleting the day/minute/tick data directories and restarts. But unfortunately I loose all ATM(s) .


    What is the best way to reset the all DB and clean the db without losing the ATM(s) ?

    Is there a way to export all ATM(s) in a file or xml file?

    Regards
    Gio





    #2
    Hello giogio1,


    Thank you for using NinjaTrader.


    I'm not sure if you've tried clearing your database files before but this does not affect your ATM strategies as these are located in the following directory:
    • \Documents\NinjaTrader 8\templates\AtmStrategy

    Do you mean something else gets lost when you clear your database?


    Please advise.

    Comment


      #3
      Originally posted by giogio1 View Post
      Is there a way to export all ATM(s) in a file or xml file?
      hmmm.. I was unaware these were removed when deleting NinjaTrader.sqlite.

      ATM.xml's are stored here: \Documents\NinjaTrader 8\templates\AtmStrategy



      Be Safe in this Crazy World!​
      -=Edge=-
      NinjaTrader Ecosystem Vendor - High Tech Trading Analysis

      Comment


        #4
        Originally posted by giogio1 View Post
        My sqlite file is now way too big, > 1GB. I don't need to retain any old information except the ATM(s)

        My objective is to save space, reset the all DB and clean everything in the db also to clear space and lighten up the Ninjatrader platform.

        But I don't want to lose all my ATM(s)

        The best method I know to clean the db is to delete the sqlite file in addition to deleting the day/minute/tick data directories and restarts. But unfortunately I loose all ATM(s) .


        What is the best way to reset the all DB and clean the db without losing the ATM(s) ?

        Is there a way to export all ATM(s) in a file or xml file?

        Regards
        Gio



        To be safe, instead of reset DB, you can simply go to Documents/NinjaTrader 8/ db and selectively delete minute, day, Cache,Tick,etc. data files that you want to remove.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        55 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        37 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        17 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        19 views
        0 likes
        Last Post TheRealMorford  
        Started by Mindset, 02-28-2026, 06:16 AM
        0 responses
        49 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X