Update freqtrade/strategy/interface.py
Co-authored-by: Matthias <xmatthias@outlook.com>
This commit is contained in:
parent
d9c26fcfb4
commit
7470c807b4
@ -679,7 +679,7 @@ class IStrategy(ABC, HyperStrategyMixin):
|
|||||||
# If initial stoploss is not the same as current one then it is trailing.
|
# If initial stoploss is not the same as current one then it is trailing.
|
||||||
if trade.initial_stop_loss != trade.stop_loss:
|
if trade.initial_stop_loss != trade.stop_loss:
|
||||||
sell_type = SellType.TRAILING_STOP_LOSS
|
sell_type = SellType.TRAILING_STOP_LOSS
|
||||||
if self.use_custom_stoploss :
|
if self.use_custom_stoploss:
|
||||||
sell_type = SellType.CUSTOM_STOP_LOSS
|
sell_type = SellType.CUSTOM_STOP_LOSS
|
||||||
|
|
||||||
logger.debug(
|
logger.debug(
|
||||||
|
Loading…
Reference in New Issue
Block a user