winner, readability, with brackets as fix
This commit is contained in:
		| @@ -168,9 +168,9 @@ class RPC: | |||||||
|                         profit_str += f" ({fiat_profit:.2f})" |                         profit_str += f" ({fiat_profit:.2f})" | ||||||
|                 trades_list.append([ |                 trades_list.append([ | ||||||
|                     trade.id, |                     trade.id, | ||||||
|                     trade.pair + ['', '*'][trade.open_order_id is not None |                     trade.pair + ('*' if (trade.open_order_id is not None | ||||||
|                                            and trade.close_rate_requested is None] |                                           and trade.close_rate_requested is None) else '') | ||||||
|                                + ['', '**'][trade.close_rate_requested is not None], |                                + ('**' if (trade.close_rate_requested is not None) else ''), | ||||||
|                     shorten_date(arrow.get(trade.open_date).humanize(only_distance=True)), |                     shorten_date(arrow.get(trade.open_date).humanize(only_distance=True)), | ||||||
|                     profit_str |                     profit_str | ||||||
|                 ]) |                 ]) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user