From 9edcb393b6704bebbffd0552e029f8126b2c7269 Mon Sep 17 00:00:00 2001 From: Eugene Schava Date: Tue, 1 Jun 2021 22:24:21 +0300 Subject: [PATCH] telegram: move the most important information to the top of sell message fixed flake error --- 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 ccf19add1..320a3a591 100644 --- a/freqtrade/rpc/telegram.py +++ b/freqtrade/rpc/telegram.py @@ -218,7 +218,7 @@ class Telegram(RPCHandler): msg['profit_fiat'] = self._rpc._fiat_converter.convert_amount( msg['profit_amount'], msg['stake_currency'], msg['fiat_currency']) msg['profit_extra'] = (' ({gain}: {profit_amount:.8f} {stake_currency}' - ' / {profit_fiat:.3f} {fiat_currency})').format(**msg) + ' / {profit_fiat:.3f} {fiat_currency})').format(**msg) else: msg['profit_extra'] = ''