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:	368
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 asd32, Today, 11:45 AM
          0 responses
          1 view
          0 likes
          Last Post asd32
          by asd32
           
          Started by tkaboris, Today, 11:09 AM
          1 response
          3 views
          0 likes
          Last Post NinjaTrader_Jesse  
          Started by marco231, 03-20-2024, 03:56 PM
          5 responses
          155 views
          0 likes
          Last Post bnoisette  
          Started by tonynt, Today, 08:05 AM
          2 responses
          17 views
          0 likes
          Last Post tonynt
          by tonynt
           
          Started by victor68133, Today, 07:50 AM
          4 responses
          26 views
          0 likes
          Last Post backtester831  
          Working...
          X