Restarting the TSLab program
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.
Manual reboot
You can restart the program by selecting the Main menu -> File -> Restart.
![](https://doc.tslab.pro/~gitbook/image?url=https%3A%2F%2F45805883-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-MaCiHiFV0s-5gqtvIid-1703796690%252Fuploads%252FOFXKDRHpI7CriEOr8nJo%252Ftsl_restartProg.png%3Falt%3Dmedia%26token%3Df8c9c79c-588f-47c1-8dc3-679b1027f16f&width=768&dpr=4&quality=100&sign=5b1ea37&sv=1)
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.
![](https://doc.tslab.pro/~gitbook/image?url=https%3A%2F%2F45805883-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-MaCiHiFV0s-5gqtvIid-1703796690%252Fuploads%252F7Nk1fPItosowDrEih3Xi%252Ftsl_shurdownProg.png%3Falt%3Dmedia%26token%3Dadf76fc1-0a49-4d69-a149-4334971c0859&width=768&dpr=4&quality=100&sign=961ccc36&sv=1)
Saving configuration and scripts
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.
![](https://doc.tslab.pro/~gitbook/image?url=https%3A%2F%2F45805883-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-MaCiHiFV0s-5gqtvIid-1703796690%252Fuploads%252FwxeGfVbJ21RDURV8Thwf%252Ftsl_saveConfOnExit.png%3Falt%3Dmedia%26token%3Daa949abc-ddb9-4752-996c-4ff7d6eef6e9&width=768&dpr=4&quality=100&sign=467ba1f9&sv=1)
Scheduled reboot
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.
![](https://doc.tslab.pro/~gitbook/image?url=https%3A%2F%2F45805883-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252F-MaCiHiFV0s-5gqtvIid-1703796690%252Fuploads%252F3myRiHvQmbz6N1naSapJ%252Ftsl_sheduledRestart.png%3Falt%3Dmedia%26token%3Df384e554-de0a-41dd-ae14-12312cdc3661&width=768&dpr=4&quality=100&sign=231516c&sv=1)
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.
Possible reason for manually restarting the program
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.
Last updated