Test iterative sending of /status

This commit is contained in:
Matthias
2022-08-06 09:15:25 +02:00
parent b12dd15f4f
commit 2687633941
2 changed files with 17 additions and 1 deletions

View File

@@ -549,7 +549,7 @@ class Telegram(RPCHandler):
r['exit_reason'] = r.get('exit_reason', "")
lines = [
"*Trade ID:* `{trade_id}`" +
("` (since {open_date_hum})`" if r['is_open'] else ""),
(" `(since {open_date_hum})`" if r['is_open'] else ""),
"*Current Pair:* {pair}",
"*Direction:* " + ("`Short`" if r.get('is_short') else "`Long`"),
"*Leverage:* `{leverage}`" if r.get('leverage') else "",