Fixed messages and readability

This commit is contained in:
Yazeed Al Oyoun
2020-02-11 15:58:40 +01:00
parent 867b736b84
commit fc29564974
5 changed files with 11 additions and 11 deletions

View File

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