Settings Directory

The following directories are important for Designer:

  1. The directory where Designer is installed. From this folder, you can start Designer by running Designer.exe, or update Designer by running Designer.Update.exe. Deleting this directory removes Designer, but Designer settings are not deleted.

  2. The Designer settings directory is located under the user's documents folder: …\StockSharp\Designer\ (for example, c:\Users\User\Documents\StockSharp\Designer\). Deleting this directory resets all Designer settings to their defaults. All created strategies, downloaded instruments, and other information stored in the settings directory will be DESTROYED.

Designer Directory and edit the data manually 00

This directory contains the following folders and files:

  • The Backtest, Live, Remote, Optimization, Custom and Indicator folders correspond to the Backtest, Live, Remotely, optimizations, Own elements and Indicators folders on the Schemas panel. Each strategy, block or indicator is stored in its own JSON file named by an identifier instead of a name. Deleting a file removes the corresponding strategy or block from the Schemas panel. Do not edit these files manually; doing so may break the corresponding strategy or block. A file that cannot be read is skipped at startup: the other strategies are loaded, and the reason is written to the log. If you manually add a strategy file to one of these folders and restart Designer, the strategy appears in the corresponding folder on the Schemas panel.
  • Logs contains all Designer crash logs, which simplifies troubleshooting Designer.
  • Storage contains market data downloaded by Designer to the corresponding Market data storage. The folder is created when Market data storage is created, and the default path points to this folder. Deleting this folder removes all downloaded market data from the corresponding storage. If the storage contains CSV files, they can be edited in a standard text editor or MS Excel. BIN files cannot be edited manually.
  • exchange.csv and exchangeboard.csv contain the list of exchanges, instrument codes, and trading modes. These files can be edited in a standard text editor or MS Excel.
  • security.csv contains all received and created instruments across all sources. Deleting this file removes all instruments from Designer. Adding new instruments is described in Download instruments and Create instrument. This file can be edited in a standard text editor or MS Excel.
  • portfolio.csv and position.csv contain all received and created portfolios and their current positions. Deleting these files removes the corresponding data from Designer. If Designer receives portfolio information on each connection, position information can still be lost permanently. These files can be edited in a standard text editor or MS Excel.
  • settings.json contains current settings. Designer creates this file when settings change or when the program closes. Deleting this file resets current settings to defaults. Do not edit this file manually; doing so may break Designer.

Before manually editing individual files or resetting Designer settings, make backup copies of the files you change or of the entire directory.

See also

Update to the new version