Properly format first entry value, too.

This commit is contained in:
Matthias 2023-03-04 20:08:20 +01:00
parent c1d395a7d8
commit 7c0c98a368
1 changed files with 3 additions and 1 deletions

View File

@ -488,7 +488,9 @@ class Telegram(RPCHandler):
if order_nr == 1:
lines.append(f"*{wording} #{order_nr}:*")
lines.append(
f"*Amount:* {cur_entry_amount} ({order['cost']:.8f} {quote_currency})")
f"*Amount:* {cur_entry_amount} "
f"({round_coin_value(order['cost'], quote_currency)})"
)
lines.append(f"*Average Price:* {cur_entry_average}")
else:
sum_stake = 0