This commit is contained in:
Yazeed Al Oyoun 2020-02-15 20:55:12 +01:00
parent 44ac2409ff
commit 6e71f2f166

View File

@ -168,9 +168,9 @@ class RPC:
profit_str += f" ({fiat_profit:.2f})"
trades_list.append([
trade.id,
trade.pair + '*' if (trade.open_order_id is not None
and trade.close_rate_requested is None) else ''
+ '**' if (trade.close_rate_requested is not None) else '',
trade.pair + ['', '*'][trade.open_order_id is not None
and trade.close_rate_requested is None]
+ ['', '**'][trade.close_rate_requested is not None],
shorten_date(arrow.get(trade.open_date).humanize(only_distance=True)),
profit_str
])