initial SL and SL added to RPC

This commit is contained in:
Misagh
2019-03-27 22:00:46 +01:00
parent 0ca3a38ba6
commit 941921dd0f
2 changed files with 6 additions and 0 deletions

View File

@@ -110,6 +110,8 @@ class RPC(object):
amount=round(trade.amount, 8),
close_profit=fmt_close_profit,
current_profit=round(current_profit * 100, 2),
initial_stoploss=trade.initial_stop_loss,
stoploss=trade.stop_loss,
open_order='({} {} rem={:.8f})'.format(
order['type'], order['side'], order['remaining']
) if order else None,