Don't send double-notifications for stoploss fills

This commit is contained in:
Matthias
2021-04-19 21:32:04 +02:00
parent fecd5c582b
commit 8800a09770
3 changed files with 25 additions and 14 deletions

View File

@@ -1361,7 +1361,8 @@ class FreqtradeBot(LoggingMixin):
# Updating wallets when order is closed
if not trade.is_open:
self._notify_sell(trade, '', True)
if not stoploss_order:
self._notify_sell(trade, '', True)
self.protections.stop_per_pair(trade.pair)
self.protections.global_stop()
self.wallets.update()