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 Hwop38, 05-04-2026, 07:02 PM
        0 responses
        134 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Started by CaptainJack, 04-24-2026, 11:07 PM
        0 responses
        290 views
        0 likes
        Last Post CaptainJack  
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        237 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by M4ndoo, 04-20-2026, 05:21 PM
        0 responses
        331 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Started by M4ndoo, 04-19-2026, 05:54 PM
        0 responses
        170 views
        0 likes
        Last Post M4ndoo
        by M4ndoo
         
        Working...
        X