Changesets · Branches · Tags · Compare
| Changeset | c6fc2d59bae1c022ad76229f18bc5ca45f1ea6f4fe0cb5fce8bafc2d2524ca47 |
|---|---|
| Author | Matthias <xmatthias@outlook.com> · 2021-04-22 10:01 +02:00 |
| Committer | Matthias <xmatthias@outlook.com> · 2021-04-22 10:01 +02:00 |
| Parents | 6dcb64c30cd2 |
1 file changed
modified freqtrade/rpc/telegram.py +2 −1
| @@ -246,7 +246,8 @@ | ||
| 246 | 246 | msg['message_side'] = 'Buy' if msg['type'] == RPCMessageType.BUY_FILL else 'Sell' |
| 247 | 247 | |
| 248 | 248 | message = ("\N{LARGE CIRCLE} *{exchange}:* " |
| 249 | - "Buy order for {pair} (#{trade_id}) filled for {open_rate}.".format(**msg)) | |
| 249 | + "{message_side} order for {pair} (#{trade_id}) filled " | |
| 250 | + "for {open_rate}.".format(**msg)) | |
| 250 | 251 | |
| 251 | 252 | elif msg['type'] == RPCMessageType.SELL: |
| 252 | 253 | message = self._format_sell_msg(msg) |