Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

recover deleted trades data?

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

    recover deleted trades data?

    Click image for larger version

Name:	SharedScreenshot.jpg
Views:	359
Size:	57.3 KB
ID:	1059959 Hi,
    I inadvertently deleted my historical trades data.

    Is there any way I can recover this? I do take a regular backup, so perhaps from one of the backed up files? making sure that I do not overwrite the most current trades data(done after restoring from the backup)

    Thanks

    #2
    There would be no way to recover the previous trade data and also prevent the removal of new trade data since the db reset.

    We could likely revert this reset (if there is a old database file on your PC), but this would revert back to the state at the time of the reset and would not contain trades made after the reset.

    There is no way to merge together database information.

    Comment


      #3
      Thanks Patrick.

      In that case, I have no option but to go back to the point before the reset. I understand I will lose information on the trades made after the reset.

      How do I go about it? where is this database file located?

      Comment


        #4
        Here are the steps to recover the old database:
        • Shut down NinjaTrader
        • Open Windows File Explorer (hotkey = Windows key + E)
        • Navigate to Documents > NinjaTrader 8 > 'db' folder
        • You should see two database files — 'NinjaTrader.sdf' and 'NinjaTrader.Old.sdf'
        • Delete (or rename) 'NinjaTrader.sdf'
        • Rename 'NinjaTrader.Old.sdf' to 'NinjaTrader.sdf'
        • Restart NinjaTrader

        Comment


          #5
          Thanks.

          I managed to recover the old data.

          NOTE: for some reason the 'NinjaTrader.Old.sdf' file was smaller than the NinjaTrader.sdf' . But I recovered a NinjaTrader.sdf' from my Windows backup taken days before the event of resetting the database.

          Thanks again for your help!

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by rajendrasubedi2023, Today, 09:50 AM
          0 responses
          6 views
          0 likes
          Last Post rajendrasubedi2023  
          Started by ender_wiggum, Today, 09:50 AM
          0 responses
          2 views
          0 likes
          Last Post ender_wiggum  
          Started by bmartz, Today, 09:30 AM
          1 response
          7 views
          0 likes
          Last Post NinjaTrader_Erick  
          Started by geddyisodin, Today, 05:20 AM
          3 responses
          24 views
          0 likes
          Last Post NinjaTrader_Gaby  
          Started by lorem, Today, 09:18 AM
          1 response
          5 views
          0 likes
          Last Post lorem
          by lorem
           
          Working...
          X