Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Loaded Strategies where are they saved

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

    Loaded Strategies where are they saved

    Good Morning,
    I have usually a few strategies running on Ninja Trader over 10. However, my issue occurs when for some reason when you close ninjatrader or have to end it in task manager. The strategy that is running and not stopped is usually removed. I then have to on next startup go and find back the chart and load the strategy. Where does NInja Store these strategies for I can just drop back that .xml file and have my strategies loaded back. I know its not in the workspace, config or UI xml files, since I can replace those with previous days versions and the strategies still do not come back.

    Thanks.

    #2
    Hello richa61416,

    Strategies applied in NinjaTrader Desktop are saved when you save the workspace. Unfortunately there is no .xml file that allows you to restore strategies. I suggest to restore your workspace using the 'Restore workspace' function and check if this will bring back the strategies (assuming the workspace was saved with the strategies before).

    ​Please complete the following steps to use the "Restore workspace" feature:
    1. Navigate to Tools -> Database Management
    2. Select "Restore workspace"
    3. Select Restore to be directed to the location of the recovery workspaces
    4. Workspaces will be organized in folders with the same name as the workspace
    5. Double click the folder of the workspace you want to recover and then select the recovery file with the date/time that you want to recover. You'll want to select a file larger than 1kb from the available options.
    Below I have provided a link to the Restore Workspaces section of our help guide:

    Comment


      #3
      Originally posted by richa61416 View Post
      Good Morning,
      I have usually a few strategies running on Ninja Trader over 10. However, my issue occurs when for some reason when you close ninjatrader or have to end it in task manager. The strategy that is running and not stopped is usually removed. I then have to on next startup go and find back the chart and load the strategy. Where does NInja Store these strategies for I can just drop back that .xml file and have my strategies loaded back. I know its not in the workspace, config or UI xml files, since I can replace those with previous days versions and the strategies still do not come back.

      Thanks.
      Strategies in Strategies tab are saved in the file Documents\NinjaTrader 8\db\NinjaTrader.sqlite

      Perhaps you could make a backup copy of that file. Then if the strategy disappears from the strategy tab, copy your NinjaTrader.sqlite back into that folder and it should be restored.

      See this post for more info: https://forum.ninjatrader.com/forum/...40#post1237740

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by NullPointStrategies, Today, 05:17 AM
      0 responses
      48 views
      0 likes
      Last Post NullPointStrategies  
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      126 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      66 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      42 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      46 views
      0 likes
      Last Post TheRealMorford  
      Working...
      X