Table of Contents

Alerts

A service for sending messages from applications (such as Designer or your own custom program) to both private and public channels or groups in the Telegram messenger.

To configure:

  1. Complete the bot authorization process.

  2. Create a channel or group (either private or public).

    Creating a Telegram Channel Choosing a Channel Type in Telegram

  3. Add the bot StockSharpBot

    Adding the Bot to Telegram

  4. Make it an administrator

    Setting the Bot as an Administrator in Telegram

  5. Necessary permissions for correct operation

    Permissions for the Telegram Bot

  6. Write the special word activate in the channel or group

    Activating the Channel in Telegram

  7. If successful, you will receive a response

    Channel Activation Confirmation in Telegram

The channel you've created is now available for your strategies and trading robots:

  • When using Designer, press on the channel list at the top panel:

    Designer Ribbon Channels

    In the window that appears, you will see lists of all the channels and groups where you've activated the bot:

    List of Channels in Telegram

    Pressing the Telegram icon button will send a test message. If it's received, it means everything has been set up correctly.

    Sending a Test Message from Designer

    In the free tariff, a line mentioning the StockSharp site is added. In paid tariffs, this line is removed.

If you have several output channels in Telegram and you want to direct different strategies to different channels, you can specify specific channels for each strategy in the settings:

Remote Settings in Designer

  • In other programs, settings are done similarly to Designer. For example, in the Hydra program, you can configure error logging for market data download if Hydra is located on a server, and you need to promptly receive information about a non-working connection.
  • In the case of Shell or S#, you can view the code that integrates your strategies with the Telegram service.