Skip to content

Commit

Permalink
enhance open order formatting in status handle
Browse files Browse the repository at this point in the history
  • Loading branch information
gcarq committed Nov 20, 2017
1 parent 1931d31 commit 5d934cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions freqtrade/rpc/telegram.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 5d934cd

Please sign in to comment.