Program Settings
Last updated
Last updated
To access the "Program Settings" window in the main menu of the program, select the menu item File - Program Settings
The menu of the "Program settings" window is divided into the following categories:
General Settings (including starting and closing the program);
Script Optimization;
Appearance;
Chart;
Trading;
Script Editor;
Screenshot Upload;
Keyboard.
Menu Item | Description |
---|---|
Create workspace backup | Backups are created when a configuration is saved, provided that such a file already exists on the hard drive. If the main configuration file is corrupted, the TSLab program will ask you to load a backup copy. |
Proxy | Opens the proxy server settings window. This setting applies only to program updates. It is impossible to connect the program to the broker's servers through a proxy server. |
Scheduled restart | Opens the window for setting the program restart schedule. Features of this functionality:
Attention! Chart settings use local time! 10 seconds before the reboot, a dialog box with "Reboot" and "Cancel" buttons is displayed. |
Monitoring interval | Informs about the active status of the program within a specified interval using informational messages. The program will "ping" the TSLab server. |
Menu Item | Description |
---|---|
Password | Creates a screen lock password. After creating a password, a padlock icon appears on the Main Menu bar. In order to lock the TSLab program window, click on the "Lock" button located to the right of the main menu of the program. Enter your password to unlock the home screen |
Menu Item | Description |
---|---|
Show splash screen | Shows a splash screen when the program starts. |
Load recent workspace | Loading the last used workspace configuration immediately after starting the program. |
Menu Item | Description |
---|---|
Close button | Two modes are available:
|
Save workspace on exit | Three modes are available:
Attention! Using the "By request" mode cancels the "Scheduled Reboot" action if you did not save the changes while working with the program. |
Menu Item | Description |
---|---|
Script debugging | Ability to debug scripts in an external debugger (leads to a slowdown in the program). |
Script execution timeout, sec | The maximum time the script will run before it is timed out. The minimum value is 5 sec., the maximum value is 216000 sec. (=60 hours). |
Script cache size, Mb. | In the script optimization mode, the program determines the maximum amount of memory allocated for data caching. This setting allows you to limit memory allocation for systems with a small amount of physical memory (2 GB or less). Recommended values for different system configurations:
|
Optimization threads number | In the script optimization mode, the program determines the required number of script execution threads on its own:
Attention! It is recommended to choose the number of optimization threads equal to the number of processor cores + 1 or +2, for i7 processors and other hyper-threading processors - equal to the number of cores multiplied by two plus 1 (either 2 or 3). |
Calculate Sharpe / Sortino ratios | If the option is selected, adds the Sharpe Ratio calculated monthly to the Optimization Results table and to the Result table. If selected, adds the Sortino Coefficient to the Optimization Results table and to the Result table. |
Stop opt. if RAM is not enough | Stop optimization when there is not enough memory. |
Menu Item | Description |
---|---|
Interface language | Selecting the interface language. Changing the language requires restarting the program. |
Theme | Topic selection. Available options:
|
Font | |
Log lines per each message type | Select the number of lines displayed in the message log. |
Disable tabs preview | Enabling/disabling preview of the contents of the workspace when hovering the mouse pointer over the workspace tab at the bottom of the main program window |
Menu Item | Description |
---|---|
Crosshair delay in chart, ms |
|
Turn off crosshair in chart | Disables chart crosshairs. |
Crosshair delay in canvas panel, ms |
|
Turn off crosshair in canvas panel | Disables the crosshair in the canvas panel. |
Trade marker size | Selecting the size of the deal marker on the chart of laboratory scripts and agents.
|
Menu Item | Description |
---|---|
Order timeout, sec | Time to wait for a response from the server that the request has been accepted. After the time has elapsed, the program considers that the request has not passed. |
Options board interval, sec | Options board recalculation interval. |
Minimum script recalculation interval, ms | Set in milliseconds. The value of the minimum recalculation period. If there is a Metronome with a value of 10ms, and the value 50ms is selected in this setting, then the script will be counted every 50ms, it also applies to all settings of the recalculation interval in the script properties. |
Detail logging order / trade cache actions | Enables detailed program logging mode. Enable this option only if requested by TSLab Support |
Menu Item | Description |
---|---|
Connector path type | Possible options for displaying the path of connectors:
|
Connector curve type | Possible options for displaying connector lines:
|
Show parameters in block | Enabling the display of parameters inside the block by default when creating a block. |
Block entry size | Sets the input size in editor blocks:
In the picture below, Big is selected: |
Show grid | Enables displaying the grid in the script editor window |
Grid step | Sets the grid spacing in pixels (min. value 5) |
Snap to grid | When moving blocks in the script editor, snaps them to the grid |
The TSLab program provides the ability to upload screenshots of sheets to data storage. Screenshot broadcast activation sliders are located on the main menu bar of the program
Setting up the broadcast, as well as its activation, is carried out using the "Screenshot Upload" tab. To add sliders to the Main Menu panel, you need to set the Activate flag in the settings of the "Screenshots Upload" tab. When another sheet is activated, the broadcast will automatically switch to this sheet.
Menu Item | Description |
---|---|
Activate | Activates/Ends broadcasting screenshots of the active sheet. Changing the active sheet leads to the start of translation of the newly selected sheet. Adds a broadcast start button to the main menu bar of the program |
If there's active connection | Activates saving screenshots only when there is an active connection. |
Folder name | Folder name |
File name | File name |
Send every, seconds | Screenshot upload frequency. |
Client ID | User ID. Obtaining a Client ID. Activate Google Drive API:
|
Client Secret | Client Secret |
Test | Run a connection test. |
Menu Item | Description |
---|---|
Activate | Activates/Ends broadcasting screenshots of the active sheet. Changing the active sheet leads to the start of translation of the newly selected sheet. Adds a broadcast start button to the main menu bar of the program |
If there's active connection | Activates saving screenshots only when there is an active connection. |
Folder name | Folder name |
File name | File name |
Send every, seconds | Screenshot upload frequency. |
Token | Authorization token.
|
Test | Run a connection test. |
Menu Item | Description |
---|---|
Activate | Activates/Ends broadcasting screenshots of the active sheet. Changing the active sheet leads to the start of translation of the newly selected sheet. Adds a broadcast start button to the main menu bar of the program |
If there's active connection | Activates saving screenshots only when there is an active connection. |
Folder path | Folder path |
File name | File name |
Add automatic index | Activates the automatic addition of a set of characters that make the file name unique. |
Send every, seconds | Screenshot upload frequency. |
Test | Run a connection test. |
Menu Item | Description |
---|---|
Activate | Activates/Ends broadcasting screenshots of the active sheet. Changing the active sheet leads to the start of translation of the newly selected sheet. Adds a broadcast start button to the main menu bar of the program |
If there's active connection | Activates saving screenshots only when there is an active connection. |
URL | Remote server address |
API key | API key |
File name | File name |
Add automatic index | Activates the automatic addition of a set of characters that make the file name unique. |
Send every, seconds | Screenshot upload frequency. |
Test | Run a connection test. |
You can add your own hotkey options both in addition to and instead of the preset ones. To assign a hot key in the corresponding line, enter the desired key or their combination and click the "Apply" button. If this key or key combination is already in use, the program will inform you about it. You can remove a hotkey by selecting the command to which the hotkey is assigned from the list and then clicking the "Delete" button.
Commands | Hotkeys |
---|---|
Chart. Switch to chart | Alt + G |
Chart. Switch to editor | Alt + E |
Chart. ToBegin(scrolling the chart to the first bar) | Ctrl + Left |
Chart. ToEnd (scrolling the chart to the last bar) | Ctrl + Right |
Edit.Copy | Ctrl + C |
Edit.Cut | Ctrl + X |
Edit.Delete | |
Edit.Paste | Ctrl + V |
Edit.Paste with links | Ctrl + Shift + V |
Edit.Restore | Ctrl + Y |
Edit. Window properties | F4 |
Edit. Undo | Ctrl + Z |
Editor. Run | Ctrl + F5 |
Editor. Save | F6 |
Editor. Save and run | F5 |
File. Save workspace | Ctrl + S |
File. Depth of market | Alt + O |
File. Load workspace | Ctrl + L |
File. New workspace | |
File. Program settings | Ctrl - O |
Lock Screen | Alt+B |
Orders manager. Best buy | |
Orders manager. Best buy with price offset | |
Orders manager. Best sell | |
Orders manager. Best sell with price offset | |
Orders manager. Buy | |
Orders manager. Buy by market | |
Orders manager. Buy spread | |
Orders manager. Cancel all conditional orders | |
Orders manager. Cancel all orders | |
Orders manager. Close position | |
Orders manager. Flip position | |
Orders manager. Sell | |
Orders manager. Sell by market | |
Orders manager. Sell spread | |
Script Manager.Rename Script | F2 |
Script. Build | Ctrl + F5 |
Trading. Autotrading control center | F7 |
Trading. Commands manager | F8 |
View.Chart | Alt+C |
View.My trades | Alt+Q |
View.Quotes | Alt+K |
Select font type and size. The selected font can be reset to default using the "Select Default Settings" button to the right of the property's drop-down menu. The application of custom settings is indicated by a red indicator on the "Select Default Settings" button.