Fix formatting for /status Realized profit

This commit is contained in:
Matthias 2023-03-05 18:05:42 +01:00
parent de015a2d7e
commit 11eea9b4e1

View File

@ -602,7 +602,7 @@ class Telegram(RPCHandler):
if r['is_open']:
if r.get('realized_profit'):
lines.append(
"*Realized Profit:* `{realized_profit_r} {realized_profit_ratio:.2%}`")
"*Realized Profit:* `{realized_profit_ratio:.2%} ({realized_profit_r})`")
lines.append("*Total Profit:* `{total_profit_abs_r}` ")
if (r['stop_loss_abs'] != r['initial_stop_loss_abs']