telegram: move the most important information to the top of sell message

fixed flake error
This commit is contained in:
Eugene Schava 2021-06-01 22:24:21 +03:00
parent 79552a93fe
commit 9edcb393b6
1 changed files with 1 additions and 1 deletions

View File

@ -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'] = ''