Update freqtrade/strategy/interface.py

Co-authored-by: Matthias <xmatthias@outlook.com>
This commit is contained in:
Priveyes 2021-05-20 09:20:05 +02:00 committed by GitHub
parent d9c26fcfb4
commit 7470c807b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -679,7 +679,7 @@ class IStrategy(ABC, HyperStrategyMixin):
# If initial stoploss is not the same as current one then it is trailing.
if trade.initial_stop_loss != trade.stop_loss:
sell_type = SellType.TRAILING_STOP_LOSS
if self.use_custom_stoploss :
if self.use_custom_stoploss:
sell_type = SellType.CUSTOM_STOP_LOSS
logger.debug(