---
id: document_item.trust-management-via-telegram
page_type: documentation_article
title: "Trust Management Via Telegram"
description: "How to configure the terminal to send trading commands between the master and slave Moonbot terminals via Telegram: Buy, Short, Sell, PanicSell, ChannelKey and Telegram strategy parameters."
section: documentation
category: "Additional materials / Trust Management and Social Trading"
url: https://moonbot.eu/en/documentation/trust-management-and-social-trading/trust-management-via-telegram?format=md
locale: en
alternate_ru: https://moonbot.eu/documentation/trust-management-and-social-trading/trust-management-via-telegram?format=md
parent: https://moonbot.eu/en/documentation/trust-management-and-social-trading?format=md
previous: null
next: https://moonbot.eu/en/documentation/trust-management-and-social-trading/trust-management-via-udp-protocol?format=md
status: published
updated_at: 2026-11-05T01:59:43+03:00
---

# Trust Management Via Telegram

The **PRO-version** of the Moonbot terminal includes a copy trading feature via Telegram, which allows trading commands to be transmitted from a master terminal to follower terminals of other users — provided that those users have configured their terminals in advance to receive such commands via Telegram.

With this copy trading method, the master Moonbot terminal can automatically generate special commands corresponding to its core operations: placing, modifying, canceling, and closing orders, setting stops, and other actions. These commands are sent to your personal Telegram channel in a specific format. Follower Moonbot terminals can connect to this Telegram channel, receive and process these commands, and replicate the corresponding actions.

At any time, the master terminal can stop sending commands to the Telegram channel and cease acting as the master. Follower terminals can also disable the reception and processing of Telegram commands at any time and return to fully autonomous operation.

It is important to consider that follower terminals replicate the master’s commands exactly, but the execution results may differ. For example, if the master terminal places an order and fills the entire volume at the selected price, follower terminals will also place orders at that price. However, depending on their order size and the current liquidity in the order book, they may fail to purchase the coins at the same price or may only partially fill the order — because there may no longer be sufficient supply available at that price at that moment.

This is clearly illustrated in the figure below (example of the TRUST order book):

![](https://moonbot.eu/storage/editor-images/Order%20book.png)

Suppose the master terminal places a Buy order for 2,063 **TRUST** coins at a price of 514 sat. In the order book (ASK side), you can see on the right that only 2,058 coins are available at this price, so the leading terminal will buy them all. The follower terminal will receive and replicate the command “Buy TRUST 514 sat”; however, the required volume of coins will no longer be available. As a result, its Buy order will remain as an unfilled limit order in the BID side of the order book (on the left). Meanwhile, the master terminal may already be selling the coins at the next best price — 520 sat — while the follower has not purchased a single coin. To avoid this situation, at the moment of purchase the master terminal immediately sends a command to sell the acquired coins. Upon receiving the sell command, the follower terminal cancels its Buy order if it has not been fully executed.

### Configuring the Sending of Copy Trading Commands from the Master Terminal to Telegram

In the main Moonbot terminal window, open the chart of any coin and, on the right control panel, click the **Share** button to open the **Share market** window with a set of special settings (see the picture below):

![](https://moonbot.eu/storage/editor-images/Share%20market%20White.jpg)

If you do not want the **Share market** window to open automatically after clicking the **Share** button in the future, enable the checkbox **Don\`t show this screen next time (you can still open it by right-clicking on the "Share" button**). After that, left-clicking the **Share** button will no longer open the **Share market** window and will instead immediately execute the command to send a message to Telegram. If needed, the **Share market** window can be opened by right-clicking the **Share** button.

To enable automatic sending of commands to your Telegram channel, perform the following steps in the **Share** **market** window:

1. Enable automatic signal sending.\
   To do this, check the box **I\`d like to post signals to my own channel automatically.**\
   If you would like to simultaneously send commands to the **@MoonInt** channel, enable the additional option **and to the @MoonInt.**
2. Create your own Telegram channel.\
   Important: it must be a channel, not a group.\
   Then create a personal Telegram bot and obtain a bot token via @BotFather. Add the Telegram bot to your Telegram channel and grant it administrator rights.
3. Enter the received bot token in the **My Bot token** field in the **Share market** window.
4. Specify the name or ID of your Telegram channel in the **My channel name** field:
   1. if the channel is public, enter its short username;
   2. if the channel is private, enter your Telegram channel ID.\
      You can obtain the Telegram channel ID in one of the following ways:
      1. Post any message in the channel (for example: BTCUSDT BUY) → open the log file **logs\\LOG_ADD_YYYY-MM-DD.log** and find the **ID** there. In the Moonbot terminal logs, the **ID** appears as **17XXXXXX26** (without the -100 prefix).
      2. Use the Telegram bot **@username_to_id_bot**:
         1. find it via Telegram search, open it, and press **Start**
         2. press **Channel** → select your channel from the list whose ID you want to obtain → confirm the action
         3. in a line such as: Chat id: -10017XXXXXX26, copy the **ID**: -**10017XXXXXX26** (with the -100 prefix).\
            Note: \
            In the **My channel name** field, you can enter either “-10017XXXXXX26” or “17XXXXXX26” — both options will work.
5. If Telegram is blocked in your region, configure a proxy connection.\
   To configure the proxy:
   1. enable the **Use Socks5 proxy** checkbox;
   2. in the **Host:Port** field, enter the host and port;
   3. in the **Login** field, enter the username;
   4. in the **Password** field, enter the password.
6. Enable the **Send only share signals c**heckbox.
7. Check message delivery.\
   Click the **Test** button to verify that messages are being sent to your Telegram channel. If a message with the current time appears in your channel, the setup is correct.
8. Test sending a real signal. \
   Close the **Share market** window, open the chart of any coin (for example, PEPE), and left-click the **Share** button. A message similar to the following will appear in your Telegram channel:

   **\#PEPE delta: +3.2% pump\
   UserXXXX @ RatingXXX**

   With these messages, you can notify all subscribers of your channel that this coin deserves attention.

**⚠️ Important!** The MoonShot strategy does not send control commands, since Buy orders of this type are managed by the terminal according to a strictly defined algorithm.

### Management Commands

Automatic control commands can be sent to the Telegram channel, which are generated by the Moonbot master terminal, or the user can send manual control commands himself to control the terminal remotely.

### Notation Used in Control Command Syntax

- **Coin** — the coin name;
- **Price** — the price value; can be specified either as an absolute value or as a percentage;
- **X%** — the percentage size of the Buy order relative to the total deposit;
- **Key** — a keyword used in the ChannelKey parameter of the Telegram strategy;
- **\< >** — a required parameter enclosed in angle brackets;
- **\[ \]** — an optional parameter enclosed in square brackets.

⚠️ **Important**! Make sure to strictly observe letter case when entering commands.

### Automatic Control Commands

These are commands that are automatically sent by the master Moonbot terminal to the Telegram channel. Follower terminals connected to this channel receive, process, and execute these commands on their side.

- **cmd_Buy  \[Price\] \[sell \[Price\]\] \[OrderSize X%\] \[Key ChannelKey\]**\
  Places a Long order for the specified coin (Coin) at the given price — either at an exact price value or at the specified percentage relative to the configured order.\
  If the purchase price is not specified in the command, the Buy order will be placed in Long according to the Telegram strategy settings of the follower terminal. \
  If a sell price is specified in the command using the keyword sell, the provided sell price will be applied to the Telegram strategy of the follower terminal.

  **Example 1:**\
  A single command **cmd_Buy NEO 7.15 sell +15% OrderSize 10% Key ST123** will be interpreted by the terminal as two separate commands: **cmd_Buy NEO 7.15 OrderSize 10%** and **cmd_UpdateSell 15%**.\
  In this command, the keyword Key **ST123** is specified for a particular Telegram strategy in which this value is set in the strategy settings on the **Main** tab in the parameter **ChannelKey=ST123**. Only this specific Telegram strategy will execute the command on the follower terminal.\
  If the **\[Key ChannelKey\]** value is not specified in the command, or if there is no Telegram strategy with such a **ChannelKey** on the follower terminal, the first Telegram strategy in the list will be selected. TTickers of the form ETHUSDT.P (with the suffixes USDT and .P) are also recognised in trust management commands.
- **cmd_Short  \[Price\] \[sell \[Price\]\] \[OrderSize X%\] \[Key ChannelKey\]**\
  Places a Short order for the specified coin (Coin) at the given price — either at an exact price value or at the specified percentage relative to the configured order (this command works on futures only).\
  If the purchase price is not specified in the command, the Buy order will be placed in Short according to the Telegram strategy settings of the follower terminal. If a sell price is specified in the command using the keyword sell, the provided sell price will be applied to the Telegram strategy of the follower terminal. \
  **Example 2:**\
  A single command **cmd_Short BTC 1% sell 2% OrderSize 10%** will be interpreted by the terminal as two separate commands: **cmd_Short BTC 1%** and **cmd_UpdateSell 2%**. Since no keyword is specified in this command, the first Telegram strategy in the master terminal will respond to it.
- **cmd_CancelBuy** \
  Cancel the Buy order for the specified coin (Coin);
- **cmd_Sell**  \
  Sell the specified coin (Coin) at the given price (Price). \
  Upon receiving this command, all Buy orders for the specified coin will be canceled, and the terminal will begin selling all purchased Coin at the price specified in the command (Price);
- **cmd_SetStop**  \
  Set the Stop Loss value for an open order on the specified coin (Coin) to the price value (Price).\
  The price must be specified as an absolute value, for example: **cmd_SetStop BNB 215**;
- **cmd_PanicSell  \[Key ChannelKey\]**\
  Activate the Panic Sell function for the specified coin. If the Key keyword is used, the command can be sent to execute the sell action for a specific Telegram strategy with the same ChannelKey.

### Manual Control Commands

These are commands that are not sent automatically by the Moonbot terminal to Telegram. You can enter them manually in the control Telegram channel, and follower terminals connected to this channel will receive, process, and execute them on their side.

- **cmd_PanicSellAll**\
  Activate the Panic Sell function on all active Sell orders on the slave terminal;
- **cmd_UpdateBuy** \
  Change the purchase price in the Telegram strategy on the slave terminal.\
  — percentage of the purchase price (always with a % sign);
- **cmd_UpdateSell** \
  Change the value of the selling price in the Telegram strategy of the slave terminal. The price must be indicated as a percentage of the purchase price, the % sign after the number is required!
- **cmd_UpdateStopLoss  \[AllowedDrop\]**\
  Change the Stop Loss Value \
  — set the stop loss to a percentage of the purchase price, , the number and the % sign are indicated (required parameter)\
  \[AllowedDrop\] — the minimum level as a percentage of the purchase price to which, after the stop is triggered and the Panic Sell is activated, the Sell order can be lowered, the number and the % sign are indicated (optional parameter);
- **cmd_UpdateKeyWords** \
  Update the list of keywords in the slave terminal on the **Settings → AutoBuy** tab in the "**Keywords (comma separated) in the Long signa**l" field.\
  Keywords are separated by commas after this command;
- **cmd_UpdateBlackWords** \
  Update the list of stop words (**Settings → AutoBuy** → in the "**Blackwords (comma separated) in message**" field).\
  Stop words are indicated with a comma after the command;
- **cmd_UpdateLowerPriceWords**\
  Update the list of words to buy at a lower price (**Settings → AutoBuy** in the "**Words in message to buy at lower price**" field).\
  The words are separated by commas after the command;
- **cmd_UpdateTokenTags**\
  Update the list of token tags (**Settings → AutoBuy** in the "**Buy tokens tagged with**" field)\
  The tags are separated by commas after the command.

### Configuring the reception and processing of trust management commands for a slave terminal

In order for the slave terminal to receive Trust Management commands from your Telegram channel, you need to create a Telegram strategy in it and set the following parameters on the Main tab:

- **ChannelName**\
  In the menu of this parameter, select the name of the Telegram channel from which the terminal will read the control commands. Before that, you need to add this channel on the **Settings → Telegram** tab to the list on the left, so that after that it appears in the menu for selecting the **ChannelName** parameter;
- **ChannelKey**\
  In this field, specify one keyword that will be used at the end of the control command. \
  For example, if the command looks like: \
  **cmd_Buy NEO 7.15 sell +15% OrderSize 10% Key ST123**, \
  then the Telegram strategy must specify: \
  **ChannelKey = ST123**;
- **AcceptCommands**\
  Check the box (**YES**), which allows the Telegram strategy to accept trust management commands.\
  Since the commands will only be applied to orders set by the Telegram strategy with the **AcceptCommands=YES** option enabled, you can disable external control from the master terminal at any time if you set **AcceptCommands=NO** in your slave terminal in the strategy settings.

## Navigation

Path: [Main](https://moonbot.eu/en?format=md) / [Documentation](https://moonbot.eu/en/documentation?format=md) / [Additional materials](https://moonbot.eu/en/documentation/additional-materials?format=md) / [Trust Management and Social Trading](https://moonbot.eu/en/documentation/trust-management-and-social-trading?format=md) / Trust Management Via Telegram

Parent section: [Trust Management and Social Trading](https://moonbot.eu/en/documentation/trust-management-and-social-trading?format=md)

Next: [Trust Management Via UDP Protocol](https://moonbot.eu/en/documentation/trust-management-and-social-trading/trust-management-via-udp-protocol?format=md)

## Related

- [Trust Management Via UDP Protocol](https://moonbot.eu/en/documentation/trust-management-and-social-trading/trust-management-via-udp-protocol?format=md)
- [Social Trading with Telegram](https://moonbot.eu/en/documentation/trust-management-and-social-trading/social-trading?format=md)
