adding percentage to telegram status messages
This commit is contained in:
@@ -111,6 +111,9 @@ class RPC(object):
|
||||
close_profit=fmt_close_profit,
|
||||
current_profit=round(current_profit * 100, 2),
|
||||
stop_loss=trade.stop_loss,
|
||||
stop_loss_pct=trade.stop_loss_pct,
|
||||
initial_stop_loss=trade.initial_stop_loss,
|
||||
initial_stop_loss_pct=trade.initial_stop_loss_pct,
|
||||
open_order='({} {} rem={:.8f})'.format(
|
||||
order['type'], order['side'], order['remaining']
|
||||
) if order else None,
|
||||
|
||||
Reference in New Issue
Block a user