From 8d0dbc2eb8e742d52c2d925c555aaacdfae108fe Mon Sep 17 00:00:00 2001 From: Kavinkumar <33546454+mkavinkumar1@users.noreply.github.com> Date: Thu, 10 Mar 2022 08:58:22 +0530 Subject: [PATCH] Update telegram.py --- freqtrade/rpc/telegram.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freqtrade/rpc/telegram.py b/freqtrade/rpc/telegram.py index 93bca712f..2044c205f 100644 --- a/freqtrade/rpc/telegram.py +++ b/freqtrade/rpc/telegram.py @@ -284,7 +284,7 @@ class Telegram(RPCHandler): msg['profit_extra'] = '' msg['profit_extra'] = ( f" ({msg['gain']}: {msg['profit_amount']:.8f} {msg['stake_currency']}" - f"{msg['profit_extra']} + f"{msg['profit_extra']}") is_fill = msg['type'] == RPCMessageType.SELL_FILL is_sub_profit = msg['profit_amount'] != msg['cumulative_profit'] profit__prefix = 'Sub' if is_sub_profit else 'Cumulative'