added logic to differentiate sell orders with double asterisk

This commit is contained in:
Yazeed Al Oyoun
2020-02-12 21:45:55 +01:00
parent 899de8b27c
commit 47874a4527
3 changed files with 5 additions and 2 deletions

View File

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