wrapping in parantheses instead of line breaks

This commit is contained in:
misagh 2019-01-18 12:07:51 +01:00
parent 70780bb01e
commit a2618208ef

View File

@ -278,9 +278,9 @@ class IStrategy(ABC):
else self.stoploss, initial=True) else self.stoploss, initial=True)
# evaluate if the stoploss was hit if stoploss is not on exchange # evaluate if the stoploss was hit if stoploss is not on exchange
if self.stoploss is not None and \ if ((self.stoploss is not None) and
trade.stop_loss >= current_rate and \ (trade.stop_loss >= current_rate) and
not self.order_types.get('stoploss_on_exchange'): (not self.order_types.get('stoploss_on_exchange'))):
selltype = SellType.STOP_LOSS selltype = SellType.STOP_LOSS
# If Trailing stop (and max-rate did move above open rate) # If Trailing stop (and max-rate did move above open rate)
if trailing_stop and trade.open_rate != trade.max_rate: if trailing_stop and trade.open_rate != trade.max_rate: