Reduced length of the line

This commit is contained in:
Th0masL 2021-02-25 05:23:24 +02:00
parent 117f0064ed
commit 006f31129e
1 changed files with 2 additions and 1 deletions

View File

@ -1157,7 +1157,8 @@ class FreqtradeBot(LoggingMixin):
# Emergency sells (default to market!)
order_type = self.strategy.order_types.get("emergencysell", "market")
if sell_reason == SellType.FORCE_SELL:
# Force sells (default to the sell_type defined in the strategy, but we allow this value to be changed)
# Force sells (default to the sell_type defined in the strategy,
# but we allow this value to be changed)
order_type = self.strategy.order_types.get("forcesell", order_type)
amount = self._safe_sell_amount(trade.pair, trade.amount)