diff --git a/freqtrade/optimize/hyperopt.py b/freqtrade/optimize/hyperopt.py index 4d7092ff6..de1817eed 100644 --- a/freqtrade/optimize/hyperopt.py +++ b/freqtrade/optimize/hyperopt.py @@ -115,9 +115,7 @@ class Hyperopt: if HyperoptTools.has_space(self.config, 'sell'): # Make sure use_sell_signal is enabled - if 'exit_pricing' not in self.config: - self.config['exit_pricing'] = {} - self.config['exit_pricing']['use_sell_signal'] = True + self.config['use_sell_signal'] = True self.print_all = self.config.get('print_all', False) self.hyperopt_table_header = 0