Fix bad fill message
This commit is contained in:
parent
9f6f3e0862
commit
f744df2374
@ -246,7 +246,8 @@ class Telegram(RPCHandler):
|
|||||||
msg['message_side'] = 'Buy' if msg['type'] == RPCMessageType.BUY_FILL else 'Sell'
|
msg['message_side'] = 'Buy' if msg['type'] == RPCMessageType.BUY_FILL else 'Sell'
|
||||||
|
|
||||||
message = ("\N{LARGE CIRCLE} *{exchange}:* "
|
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:
|
elif msg['type'] == RPCMessageType.SELL:
|
||||||
message = self._format_sell_msg(msg)
|
message = self._format_sell_msg(msg)
|
||||||
|
Loading…
Reference in New Issue
Block a user