From f744df2374b8a7edb450277f640f815a0eca647f Mon Sep 17 00:00:00 2001 From: Matthias Date: Thu, 22 Apr 2021 10:01:41 +0200 Subject: [PATCH] Fix bad fill message --- freqtrade/rpc/telegram.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/freqtrade/rpc/telegram.py b/freqtrade/rpc/telegram.py index ffe7a7ceb..cb3dbe6c8 100644 --- a/freqtrade/rpc/telegram.py +++ b/freqtrade/rpc/telegram.py @@ -246,7 +246,8 @@ class Telegram(RPCHandler): msg['message_side'] = 'Buy' if msg['type'] == RPCMessageType.BUY_FILL else 'Sell' message = ("\N{LARGE CIRCLE} *{exchange}:* " - "Buy order for {pair} (#{trade_id}) filled for {open_rate}.".format(**msg)) + "{message_side} order for {pair} (#{trade_id}) filled " + "for {open_rate}.".format(**msg)) elif msg['type'] == RPCMessageType.SELL: message = self._format_sell_msg(msg)