Use pct instead of _perc

This commit is contained in:
Matthias
2020-05-26 19:25:03 +02:00
parent 18d2587800
commit 3e3cce4559
5 changed files with 12 additions and 12 deletions

View File

@@ -215,8 +215,8 @@ class Telegram(RPC):
"*Open Rate:* `{open_rate:.8f}`",
"*Close Rate:* `{close_rate}`" if r['close_rate'] else "",
"*Current Rate:* `{current_rate:.8f}`",
"*Close Profit:* `{close_profit_perc}`" if r['close_profit_perc'] else "",
"*Current Profit:* `{current_profit_perc:.2f}%`",
"*Close Profit:* `{close_profit_pct}`" if r['close_profit_pct'] else "",
"*Current Profit:* `{current_profit_pct:.2f}%`",
# Adding initial stoploss only if it is different from stoploss
"*Initial Stoploss:* `{initial_stop_loss:.8f}` " +