Merge pull request #1707 from mishaker/telegram_msg

Telegram status message refactoring
This commit is contained in:
Matthias
2019-03-28 19:45:48 +01:00
committed by GitHub
4 changed files with 28 additions and 13 deletions

View File

@@ -110,6 +110,7 @@ class RPC(object):
amount=round(trade.amount, 8),
close_profit=fmt_close_profit,
current_profit=round(current_profit * 100, 2),
stop_loss=trade.stop_loss,
open_order='({} {} rem={:.8f})'.format(
order['type'], order['side'], order['remaining']
) if order else None,