Use parentheses instead of backslash

This commit is contained in:
Reigo Reinmets 2021-12-18 18:55:47 +02:00
parent 1eb83f9a62
commit 3aca3a7133

View File

@ -579,9 +579,9 @@ class LocalTrade():
total_amount = 0.0 total_amount = 0.0
total_stake = 0.0 total_stake = 0.0
for temp_order in self.orders: for temp_order in self.orders:
if temp_order.ft_is_open or \ if (temp_order.ft_is_open or
temp_order.ft_order_side != 'buy' or \ (temp_order.ft_order_side != 'buy') or
temp_order.status not in NON_OPEN_EXCHANGE_STATES: (temp_order.status not in NON_OPEN_EXCHANGE_STATES)):
continue continue
tmp_amount = temp_order.amount tmp_amount = temp_order.amount