Add stoploss-distance (to current price) to /status output

This commit is contained in:
Matthias
2020-07-14 20:16:18 +02:00
parent 0f4fc67b83
commit 82c68f07cd
5 changed files with 18 additions and 11 deletions

View File

@@ -158,6 +158,7 @@ class RPC:
current_profit_abs=current_profit_abs,
stoploss_current_dist=stoploss_current_dist,
stoploss_current_dist_ratio=round(stoploss_current_dist_ratio, 8),
stoploss_current_dist_pct=round(stoploss_current_dist_ratio * 100, 2),
stoploss_entry_dist=stoploss_entry_dist,
stoploss_entry_dist_ratio=round(stoploss_entry_dist_ratio, 8),
open_order='({} {} rem={:.8f})'.format(