autopep8 corrected

This commit is contained in:
misagh
2018-10-01 17:33:18 +02:00
parent f72fb0ad04
commit ad666ac65c
2 changed files with 9 additions and 7 deletions

View File

@@ -210,9 +210,12 @@ class IStrategy(ABC):
:return: True if trade should be sold, False otherwise
"""
current_profit = trade.calc_profit_percent(rate)
stoplossflag = \
self.stop_loss_reached(current_rate=rate, trade=trade, current_time=date,
current_profit=current_profit, force_stoploss=force_stoploss)
stoplossflag = self.stop_loss_reached(
current_rate=rate,
trade=trade,
current_time=date,
current_profit=current_profit,
force_stoploss=force_stoploss)
if stoplossflag.sell_flag:
return stoplossflag