diff --git a/freqtrade/rpc/telegram.py b/freqtrade/rpc/telegram.py index f53154dff..cb686a47c 100644 --- a/freqtrade/rpc/telegram.py +++ b/freqtrade/rpc/telegram.py @@ -1233,44 +1233,56 @@ class Telegram(RPCHandler): forcebuy_text = ("*/forcebuy []:* `Instantly buys the given pair. " "Optionally takes a rate at which to buy " "(only applies to limit orders).` \n") - message = ("*/start:* `Starts the trader`\n" - "*/stop:* `Stops the trader`\n" - "*/status |[table]:* `Lists all open trades`\n" - " * :* `Lists one or more specific trades.`\n" - " `Separate multiple with a blank space.`\n" - " *table :* `will display trades in a table`\n" - " `pending buy orders are marked with an asterisk (*)`\n" - " `pending sell orders are marked with a double asterisk (**)`\n" - "*/buys :* `Shows the buy_tag performance`\n" - "*/sells :* `Shows the sell reason performance`\n" - "*/mix_tags :* `Shows combined buy tag + sell reason performance`\n" - "*/trades [limit]:* `Lists last closed trades (limited to 10 by default)`\n" - "*/profit []:* `Lists cumulative profit from all finished trades, " - "over the last n days`\n" - "*/forcesell |all:* `Instantly sells the given trade or all trades, " - "regardless of profit`\n" - f"{forcebuy_text if self._config.get('forcebuy_enable', False) else ''}" - "*/delete :* `Instantly delete the given trade in the database`\n" - "*/performance:* `Show performance of each finished trade grouped by pair`\n" - "*/daily :* `Shows profit or loss per day, over the last n days`\n" - "*/stats:* `Shows Wins / losses by Sell reason as well as " - "Avg. holding durationsfor buys and sells.`\n" - "*/count:* `Show number of active trades compared to allowed number of trades`\n" - "*/locks:* `Show currently locked pairs`\n" - "*/unlock :* `Unlock this Pair (or this lock id if it's numeric)`\n" - "*/balance:* `Show account balance per currency`\n" - "*/stopbuy:* `Stops buying, but handles open trades gracefully` \n" - "*/reload_config:* `Reload configuration file` \n" - "*/show_config:* `Show running configuration` \n" - "*/logs [limit]:* `Show latest logs - defaults to 10` \n" - "*/whitelist:* `Show current whitelist` \n" - "*/blacklist [pair]:* `Show current blacklist, or adds one or more pairs " - "to the blacklist.` \n" - "*/edge:* `Shows validated pairs by Edge if it is enabled` \n" - "*/help:* `This help message`\n" - "*/version:* `Show version`") + message = ( + "_BotControl_\n" + "------------\n" + "*/start:* `Starts the trader`\n" + "*/stop:* Stops the trader\n" + "*/stopbuy:* `Stops buying, but handles open trades gracefully` \n" + "*/forcesell |all:* `Instantly sells the given trade or all trades, " + "regardless of profit`\n" + f"{forcebuy_text if self._config.get('forcebuy_enable', False) else ''}" + "*/delete :* `Instantly delete the given trade in the database`\n" + "*/whitelist:* `Show current whitelist` \n" + "*/blacklist [pair]:* `Show current blacklist, or adds one or more pairs " + "to the blacklist.` \n" + "*/reload_config:* `Reload configuration file` \n" + "*/unlock :* `Unlock this Pair (or this lock id if it's numeric)`\n" - self._send_msg(message) + "_Current state_\n" + "------------\n" + "*/show_config:* `Show running configuration` \n" + "*/locks:* `Show currently locked pairs`\n" + "*/balance:* `Show account balance per currency`\n" + "*/logs [limit]:* `Show latest logs - defaults to 10` \n" + "*/count:* `Show number of active trades compared to allowed number of trades`\n" + "*/edge:* `Shows validated pairs by Edge if it is enabled` \n" + + "_Statistics_\n" + "------------\n" + "*/status |[table]:* `Lists all open trades`\n" + " * :* `Lists one or more specific trades.`\n" + " `Separate multiple with a blank space.`\n" + " *table :* `will display trades in a table`\n" + " `pending buy orders are marked with an asterisk (*)`\n" + " `pending sell orders are marked with a double asterisk (**)`\n" + "*/buys :* `Shows the buy_tag performance`\n" + "*/sells :* `Shows the sell reason performance`\n" + "*/mix_tags :* `Shows combined buy tag + sell reason performance`\n" + "*/trades [limit]:* `Lists last closed trades (limited to 10 by default)`\n" + "*/profit []:* `Lists cumulative profit from all finished trades, " + "over the last n days`\n" + "*/performance:* `Show performance of each finished trade grouped by pair`\n" + "*/daily :* `Shows profit or loss per day, over the last n days`\n" + "*/weekly :* `Shows statistics per week, over the last n weeks`\n" + "*/monthly :* `Shows statistics per month, over the last n months`\n" + "*/stats:* `Shows Wins / losses by Sell reason as well as " + "Avg. holding durationsfor buys and sells.`\n" + "*/help:* `This help message`\n" + "*/version:* `Show version`" + ) + + self._send_msg(message, parse_mode=ParseMode.MARKDOWN) @authorized_only def _version(self, update: Update, context: CallbackContext) -> None: