mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
Address feedback
This commit is contained in:
parent
bbd7579aa8
commit
18d2587800
|
@ -138,8 +138,8 @@ class RPC:
|
|||
close_profit=trade.close_profit or None,
|
||||
close_profit_perc=fmt_close_profit,
|
||||
current_rate=current_rate,
|
||||
current_profit_perc=round(current_profit * 100, 2),
|
||||
current_profit=current_profit,
|
||||
current_profit_perc=round(current_profit * 100, 2),
|
||||
open_order='({} {} rem={:.8f})'.format(
|
||||
order['type'], order['side'], order['remaining']
|
||||
) if order else None,
|
||||
|
|
|
@ -215,7 +215,7 @@ 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}`" if r['close_profit_perc'] else "",
|
||||
"*Close Profit:* `{close_profit_perc}`" if r['close_profit_perc'] else "",
|
||||
"*Current Profit:* `{current_profit_perc:.2f}%`",
|
||||
|
||||
# Adding initial stoploss only if it is different from stoploss
|
||||
|
|
Loading…
Reference in New Issue
Block a user