unused library + trailing whitespaces removed.

This commit is contained in:
misagh
2018-09-26 16:36:41 +02:00
parent abb398786e
commit 75ba6578a3
4 changed files with 17 additions and 9 deletions

View File

@@ -210,8 +210,10 @@ 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