enhance open order formatting in status handle

This commit is contained in:
gcarq 2017-11-20 23:33:52 +01:00
parent 1931d31147
commit 5d934cd5b6
1 changed files with 2 additions and 2 deletions

View File

@ -163,8 +163,8 @@ def _status(bot: Bot, update: Update) -> None:
amount=round(trade.amount, 8),
close_profit=fmt_close_profit,
current_profit=round(current_profit * 100, 2),
open_order='{} ({})'.format(
order['remaining'], order['type']
open_order='({} rem={:.8f})'.format(
order['type'], order['remaining']
) if order else None,
)
send_msg(message, bot=bot)