Fix hyperopt assigning sell_signal to wrong field

This commit is contained in:
Matthias 2022-03-30 07:16:48 +02:00
parent dafc2bf361
commit b91b7b4464

View File

@ -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