Restarting the TSLab program
The TSLab development team recommends restarting the program using only standard application management tools.
- Stopping an application through the Windows "Task Manager" is not a standard tool and can lead to data loss;
- Stopping the application through the Windows "Task Manager" will result in the loss of tick charts.
You can restart the program by selecting the Main menu -> File -> Restart.
Restart can be done by completely stopping the program. Correct stop of the application using standard controls is performed by clicking on the "X" in the upper right corner of the TSLab main window. Also, to stop the TSLab application, you can select the main menu items "File" -> "Exit".
Then run the program using standard tools, for example, using a shortcut from the desktop.
When you stop the application, you will be prompted to save the current TSLab configuration. The mode of saving the configuration on exit can be changed in the program settings. If you select Always save - then saving will be not only the configuration, but also all open scripts of the laboratory.
We strongly recommend that you set up an automatic restart of the program according to a schedule once a day, preferably during non-trading hours. If, at the same time, Automatic connection to the broker according to the schedule is set in the Data provider window, disconnection / connection to the broker will occur automatically.
In the main menu section "File" - "Program settings" it is possible to select the mode of saving the configuration on exit. Available modes:
- By request - a request to save the configuration will be issued every time the application is stopped
- Always - the configuration will be saved automatically every time the application is stopped
- Never - the application will be stopped without saving the configuration.
Note! In order for the selected settings to be saved, you must create at least one configuration file. Make sure you have the "Load recent workspace" option enabled.
When the application is stopped, the accumulated tick cache (trades by instruments) will be automatically saved to the hard disk and the cached data "My Trades" and "My Orders". Due to the need to save important information before stopping the application, the TSLab Development Team recommends that you wait until the end of the TSLab stop process.
When running, the program may display a message stating that the computer does not have enough RAM. Recommendation, configure the program for these computer resources. Very often, the user, in the desire to get more, loads a large history, overlays "heavy" indicators, for example, from the Cluster Analysis tab, forgetting that computer resources are not unlimited. On the machine on which TSLab trades, it is advisable to keep the computer resources a little with a margin. Set up scripts, graphics, agents so that the program always has enough resources to work. For this, in scripts and charts, you can use restrictions, such as MaxDays, MaxBars.