This commit is contained in:
misagh
2018-11-22 17:07:37 +01:00
parent da5617624c
commit bbe8e4e494
3 changed files with 6 additions and 5 deletions

View File

@@ -231,8 +231,8 @@ class IStrategy(ABC):
stoplossflag = False
else:
stoplossflag = self.stop_loss_reached(current_rate=current_rate, trade=trade,
current_time=date, current_profit=current_profit,
force_stoploss=force_stoploss)
current_time=date, current_profit=current_profit,
force_stoploss=force_stoploss)
if stoplossflag.sell_flag:
return stoplossflag