From 7075b00e201e0d6dc331ecd3478780035f540374 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 13 Aug 2022 11:37:23 +0200 Subject: [PATCH] Remove odd dry run stoploss behavior closes #7208 --- freqtrade/freqtradebot.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/freqtrade/freqtradebot.py b/freqtrade/freqtradebot.py index 0dbeb2e44..95f884056 100644 --- a/freqtrade/freqtradebot.py +++ b/freqtrade/freqtradebot.py @@ -1475,12 +1475,6 @@ class FreqtradeBot(LoggingMixin): ExitType.STOP_LOSS, ExitType.TRAILING_STOP_LOSS, ExitType.LIQUIDATION): exit_type = 'stoploss' - # if stoploss is on exchange and we are on dry_run mode, - # we consider the sell price stop price - if (self.config['dry_run'] and exit_type == 'stoploss' - and self.strategy.order_types['stoploss_on_exchange']): - limit = trade.stoploss_or_liquidation - # set custom_exit_price if available proposed_limit_rate = limit current_profit = trade.calc_profit_ratio(limit)