TSLab
TSLab.proSupportTSLab LiveTSVerse
Eng
Eng
  • TSLab trading platform
  • For newbies
    • A beginner's guide
      • Purchasing a license key for a data provider
      • An example of connecting text quotes
      • Example of connecting a data provider to a broker / exchange
      • An example of creating a script in TSLab
      • An example of creating a trading algorithm in TSLab
  • Installing TSLab
    • TSLab Installation Guide
      • System requirements
      • TSLab Installation manual
    • Update TSLab
      • Preparing for update
      • Release build
      • Nightly build
    • Restarting the TSLab program
    • TSLab Changelog
      • TSLab 2.1 Changelog
      • TSLab 2.2 Changelog
        • 2.2.26.0 - 2024/01/31
        • 2.2.25.0 - 2024/01/17
        • 2.2.24.0 - 2024/12/04
        • 2.2.23.0 - 2024/09/19
        • 2.2.22.0 - 2024/08/30
        • 2.2.21.0 - 2024/05/17
        • 2.2.20.0 - 2024/05/15
        • 2.2.19.0 - 2024/02/21
        • 2.2.18.0 - 2024/02/09
        • 2.2.17.0 - 2023/11/16
        • 2.2.16.0 - 2023/10/20
        • 2.2.15.0 - 2023/10/13
        • 2.2.14.0 - 2023/08/11
        • 2.2.13.0 - 2023/05/12
        • 2.2.12.0 - 2023/02/28
        • 2.2.11.0 - 2022/12/15
        • 2.2.10.0 - 2022/10/27
        • 2.2.9.0 - 2022/09/16
        • 2.2.7.0 - 2022/06/23
        • 2.2.5.0 - 2022/04/29
        • 2.2.3.0 - 2022/04/01
        • 2.2.2.0 - 2021/12/29
  • Data providers
    • Cryptocurrency exchanges
      • Binance Cryptocurrency Exchange
        • Registration on Binance
          • Registration on Binance Exchange website
          • Configure Binance Wallet
          • Creating a Binance API Key for TSLab
          • Binance. Transferring USDT from wallet to wallet without commission
        • Registration on TSLab [Binance]
          • Account registration on the TSLab website [Binance]
          • Creating a free Binance Data Provider for TSLab
        • Setting up a Binance Data Provider in TSLab
        • TSLab Binance Edition
          • Starting the program
          • Configuring the Binance Data provider
      • Bitget Cryptocurrency Exchange
        • Registration on the Bitget official website
        • Creating a Free Bitget Data Provider
        • Configuring the Bitget Data Provider in TSLab
      • ByBit Cryptocurrency Exchange
        • Registration on the ByBit website
        • Creating a free ByBit data provider
        • Configuring the ByBit Data Provider in TSLab
      • Deribit Cryptocurrency Exchange
        • Deribit data provider settings
        • Deribit. Frequently asked questions and useful information
        • Deribit. Possible problems and solutions
        • Deribit Margin Requirements Calculation
        • An example of a ready-made script for Deribit
      • Kucoin Cryptocurrency Exchange
        • Registration on the KuCoin official website
        • Creating an API key on the KuCoin website
        • Issuing a free license for KuCoin Data Provider
        • Setting up the KuCoin data provider in TSLab
      • OKX Cryptocurrency Exchange
        • Setting up an OKX account
          • Registration on the OKX website
          • OKX API Key creation
          • Issuing a free license for OKX Data Provider
          • Setting up the OKX data provider in TSLab
          • OKX demo account
        • TSLab OKX Edition
          • First launch of TSLab OKEx Edition
          • Configuring the OKEx data provider
          • Trading in TSLab [OKEx]
          • OKEx Demo
    • Historical Data
      • YahooFinance
      • Offline data provider in CSV format
      • An example of connecting text quotes
      • Text files with historical data
    • Interactive Brokers
      • Getting Started with Interactive Brokers Data Provider
        • Installing and configuring the Trader Workstation (TWS) terminal
        • Installing and configuring the IB Gateway terminal
      • Features of working with Interactive Brokers data provider
      • Known issues for Interactive Brokers Data Provider
      • Loading instruments in a package
  • Working with the program
    • Main menu
      • File
        • Program Settings
      • View
        • Chart
          • Features of working with the Chart in TSLab
          • Chart Controls
        • Depth of Market
        • Quotes
        • All Trades
      • Data
        • Data Providers window
        • Add online data provider
        • Add offline data provider
      • Lab
        • Scripts window
          • Script Container
      • Trading
        • Accounts window
        • Positions window
        • My trades window
        • My orders window
          • Move orders and deals to an agent
        • Autotrading Control Center window
          • Agent window
          • Agent trading settings
            • Event recalculations
            • Slippage
          • "Forget errors" of the agent
        • Orders manager
          • Linking a manually completed order to an agent
        • Agent Control Center window
      • Tools
        • Data backup and recovery
        • Notifications manager
          • Notifications Manager Filters
          • Reference List of Service Message Numbers
          • Example of setting up notifications for Gmail
        • Export to Excel
    • Common interface
      • Status bar
      • Tab
      • Workspace
      • Spreadsheets
    • Visual editor
      • Toolbar
        • Compress and Decompress Blocks
      • List of visual blocks
        • Service Elements
        • Cycles
        • TSChannel
      • The syntax of the Formula, Boolean expression and String expression blocks.
    • Autotrading Control Center
      • Agent trade settings
        • Agent trade settings - Placing orders
        • Agent trading settings - Script execution
        • Agent trading settings - Events
    • TSLab API
      • API Introduction
        • Visual Studio Installation
        • First script (API)
        • First Indicator (API)
        • Script Debugging
        • Logging
      • Writing scripts on the API
        • Trading Instrument Data
        • Working with positions
        • List of deals
        • The order queue
        • Standard Indicators and Handlers
        • Script parameters
        • Caching
        • Local and global cache
        • Multiple Tools
      • Writing indicators on the API
        • Stream indicator
        • Bar indicator
        • Pre-processed indicator
        • Indicator with multiple calculations
      • Additional features
        • The ability to create your own optimizers *
        • C ++ / CLI script
        • API Control Panel
        • Result from script
        • * Оптимизация. Пул массивов.
      • Examples
        • Get script results
        • Get script parameters
        • Get script and agent settings
        • Get position balance (net worth)
        • An example of a strategy Breakout of the Donchian channel
        • Example of a Moving Average Crossover strategy
        • Indicator example
        • How to speed up the processing of a script on the API
        • Links to examples
      • Question - Answer
        • HandlerParameter Attribute
    • Optimization
      • Insufficient load on a multicore processor
  • Examples of scripts and indicators
    • Examples of algorithms and indicators
    • Examples of implementing strategies in TSLab
      • A trading system based on indicator CCI
      • A trading system based on Standard Deviation
      • A trading system based on Aroon
      • A trading system based on ADX and DI technical indicators
      • A trading system based on the RSI indicator
      • Example of a trading strategy without parameters
  • TSLab website
    • TSLab Support Service
      • Memory dump of TSLab application
      • TSLab program log files
Powered by GitBook
LogoLogo

Мы в соцсетях

  • Группа в Telegram
  • Новости TSLab
  • Vkontakte
  • YouTube канал TSLab Live

Наши веб-сайты

  • TSLab
  • Служба поддержки
On this page
  • Notifications Manager window
  • Notifications Manager window columns
  • Context menu of the Notifications Manager window
  • Notifications Manager Window Properties
  • Notification handler types
  • Message log
  • System tray
  • Audio file
  • Email
  • Telegram messenger

Was this helpful?

Export as PDF
  1. Working with the program
  2. Main menu
  3. Tools

Notifications manager

Last updated 2 years ago

Was this helpful?

Notifications Manager window

Using the "Notifications Manager" window, you can create and configure a notification system for events related to the operation of the TSLab program.

Notifications Manager window columns

Column
Description

Handler

Displays the channel name for notifications and channel settings buttons. The Filters button opens the Edit Filters window. In this window, you can fine-tune the notifications sent to the selected channel

Connected

The switch responsible for the operation of the selected notification channel

Test

When you click the Test button, a test message is sent to the selected notification channel

Comment

A field for your comments for the selected channel.

Context menu of the Notifications Manager window

The context menu opens when you right-click on the workspace of the "Notifications Manager" window.

Command
Description

Properties

Opens the properties of the Notifications Manager window.

Show at

Moves the Notifications Manager window to one of the existing workspace sheets.

Clone window

Creates a copy of the window.

Notifications Manager Window Properties

The properties of the "Notifications Manager" window can be opened using the context menu or using the "Properties" button located on the title bar of the sheet windows.

Attention! The settings of the Background row color and Font Settings properties that you have chosen can be returned to their original settings using the "Select Default Settings" button located 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.

Appearance

Menu item
Description

Font settings

Selecting a font style

Columns caption

Shows/hides the header of the columns.

Background row color

The background color of the window rows.

Notification handler types

You can choose the type of notification handler from those offered. It could be:

  • message log;

  • notification area;

  • audio file;

  • Email;

  • Telegram messenger.

By default, TSLab includes the Message Log handler located at the bottom of the program window. To add a new application notification handler, click the Add button.

You can select one or more types of handlers for simultaneous use. Each type of additional handler can be selected more than once.

Message log

The message log is located at the bottom of the workspace. The message log is configured in the Filters dialog box of the Notifications Manager window. Also, the setting of the Message log can be done in the status bar.

System tray

When this handler is selected, messages are displayed in the Windows notification area. Messages are configured in the "Filters" dialog box of the "Notifications Manager" window.

Audio file

To set up a sound notification, you must select an audio file in the .wav, .mid, or .mp3 format.

Email

To receive notifications to a specific email address, you need to fill in the settings.

Option
Description

SMTP Server

Email server address. "From whom"

Port

Port number for outgoing email messages.

User's name

Login to identify the user on the specified server. "From whom"

Password

User password. "From whom"

From

Correspondent's email address.

To

Addressee's (recipient's) email address.

SSL

Use / do not use a secure encrypted connection.

Send message in header

Passes the text of the message in the header.

Detailed logging

Enable detailed logging.

Telegram messenger

To set up notifications via messenger, you need to have a registered Telegram account. The messenger can be configured both in the Telegram mobile application and in the Desktop version.

If this is your first time using the BotFathe bot, then you must first send the /start command to the chat.

To create a new bot using BotFather, send the /newbot command to the chat

Enter a new name for the bot. With this name, the bot will be displayed in your contacts. Then provide a username for the bot.

Note! When creating a username for a bot, you must add the word "bot" to the end of the name, for example: MyTSLab_bot.

After the bot is created, you can find it at the link provided in the message.

If the chosen name is free, BotFather will send back a message with a token that provides access to this bot.

The bot is ready to connect to the Notifications Manager in TSLab. You can set up notifications to be sent directly to the bot's chat, or you can add the bot to a group or channel and receive notifications from those groups.

In order to receive notifications in the chat of the bot you created, follow these steps:

  • In the "Notifications Manager" window of the TSLab program, Add the Telegram handler.

  • Enable the settings item Listen for Chat Id.

    Note! After selecting the "Listen for Chat Id" option, do not close the settings window. You must wait until the chat Id field is filled.

  • In Telegram, send any message to the chatbot you created. If you did everything correctly, the Chat Id field in the program will be automatically filled in with your bot ID. After that, you can close the Settings window.

  • In the Notifications Manager window, click the Test button opposite the Telegram handler. A test message will be sent to your bot's chat.

In the same way, you can set up a bot to send messages to your Telegram group.

  • Create a group with any name. Add the created bot to the group. Give the bot group admin rights.

  • In the "Notifications Manager" window of the TSLab program, add the Telegram handler.

  • Open the settings menu of the Telegtam handler. In the settings, enter the received API token. It can be copied from the BotFather bot chat.

  • Note! After selecting the "Listen for Chat Id" option, do not close the settings window. You must wait until the chat Id field is filled.

  • In Telegram, send any message to the chatbot you created. If you did everything correctly, the Chat Id field in the program will be automatically filled in with your bot ID. After that, you can close the Settings window.

  • In the Notifications Manager window, click the Test button opposite the Telegram handler. A test message will be sent to your bot's chat.

To receive notifications in Telegram, you need to create and configure a bot in Telegram. Follow the link and launch the BotFather bot.

Copy the API token from BotFather (in the previous picture) and then paste this token into the Bot token field in the Telegram notification handler settings in TSLab

If you have any difficulties setting up the bot, please contact .

Enable the settings item Listen for Chat Id.

http://telegram.me/BotFather
our support team