Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Possible to delete all historical data at once, instead of one contract at a time?

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

    Possible to delete all historical data at once, instead of one contract at a time?

    Hello,

    Is it possible to delete all the historical data in Ninja Trader at once, instead of deleting it one contract at a time from the "Tools-->Historical Data-->Delete..." screen?

    I don't want to delete the Treeview of contract nodes that I have in Strategy Analyzer. I just want to delete all the market data in the nodes so that I can reload the market data fresh from a bunch of new text files.

    Thanks in advance,

    ChiTrader2000

    #2
    Unfortunately not. You could just load the text files in. They will overwrite the old ones.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      NinjaTrader_Josh,

      Thanks for the quick response. I will do it the way you suggested.

      Thanks again,

      ChiTrader2000

      Comment


        #4
        ChiTrader2000,

        Beware if your new files do not cover the whole data set you may have mixed old/new data.
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          NinjaTrader_Josh,

          Thanks for the warning. For our needs it is acceptable for the old data to go back further than the new data.

          What if the old data for a single date was missing no 1 minute bars, but the new data was missing 30 minutes of 1 minute bars in the middle of the day on the same exact date?

          Will the old data for that 30 minute period stay in Ninja Trader, or will it be overwritten by the missing 30 minutes of bars in the new data?

          Thanks for the help,

          ChiTrader2000

          Comment


            #6
            It will be overwritten with the missing data.
            RayNinjaTrader Customer Service

            Comment


              #7
              NinjaTrader_Ray,

              Thanks for the quick response.

              That's great news. I wouldn't want prices from the older data source to fill in the missing 1 minute bars for the same trading day that the new data source has been imported for.

              Thanks again,

              ChiTrader2000

              Comment


                #8
                Possible to delete all historical data at once, instead of one contract at a time?

                Hello,

                Five months ago the answer to this question was "no", but I was wondering if there is yet a way to delete all the historical data in Ninja Trader at once, instead of deleting it one contract at a time from the "Tools-->Historical Data-->Delete..." screen?

                Is there maybe a way I can do this in the NinjaTrader access database by hand or something if there is no way to do this through the user interface?

                I have more than 1,000 contracts whose historical data I want to delete.

                I don't want to delete the Treeview of contract nodes that I have in Strategy Analyzer. I just want to delete all the market data in the nodes so that I can reload the market data fresh from a bunch of new text files.

                It is really important to my bosses that there is a 0% chance of any merged older data making it's way into the newer data from a better data provider that I hope to import this week.

                Thanks in advance,

                ChiTrader2000

                Comment


                  #9
                  Accessing the database is not supported. If you wanted to delete everything you could just delete the database altogether and that will get you a clean slate.

                  My Documents\NinjaTrader 6.5\db\NinjaTrader.mdb.

                  If you opt for this route you will lose a lot more than just data though. You will lose trade history, instrument manager lists, etc.
                  Josh P.NinjaTrader Customer Service

                  Comment


                    #10
                    Hi Josh,

                    Thanks for the quick reply.

                    Is there anything I can do to mass delete the historical data without deleting my Instrument List?

                    If it helps, the ONLY thing I need to NOT delete is my instrument list. Everything else can be deleted.

                    Thanks in advance!

                    ChiTrader2000

                    Comment


                      #11
                      Unfortunately not.
                      Josh P.NinjaTrader Customer Service

                      Comment


                        #12
                        NT7 New Feature Request: Mass Delete Historical Data

                        Hi Josh,

                        Thanks for the quick reply. It will be quite a job to do it manually, but I understand.

                        I would like to make a NT7 New Feature Request:

                        "Mass Delete Historical Data": It could be a button next to the button that allows the user to delete the data for a single contract.

                        Thanks again,

                        ChiTrader2000

                        Comment


                          #13
                          ChiTrader2000,

                          NT7 will come with a Historical Data Manager. It should be easier to do what you want in there.
                          Josh P.NinjaTrader Customer Service

                          Comment


                            #14
                            Hi Josh,

                            Sounds great, thanks! NT7 is going to be awesome!

                            ChiTrader2000

                            Comment

                            Latest Posts

                            Collapse

                            Topics Statistics Last Post
                            Started by mmenigma, Yesterday, 03:25 PM
                            1 response
                            11 views
                            0 likes
                            Last Post NinjaTrader_Gaby  
                            Started by kujista, Today, 05:44 AM
                            0 responses
                            7 views
                            0 likes
                            Last Post kujista
                            by kujista
                             
                            Started by ZenCortexCLICK, Today, 04:58 AM
                            0 responses
                            9 views
                            0 likes
                            Last Post ZenCortexCLICK  
                            Started by sidlercom80, 10-28-2023, 08:49 AM
                            172 responses
                            2,281 views
                            0 likes
                            Last Post sidlercom80  
                            Started by Irukandji, Yesterday, 02:53 AM
                            2 responses
                            18 views
                            0 likes
                            Last Post Irukandji  
                            Working...
                            X