Fix hyperopt assigning sell_signal to wrong field
This commit is contained in:
parent
dafc2bf361
commit
b91b7b4464
@ -115,9 +115,7 @@ class Hyperopt:
|
|||||||
|
|
||||||
if HyperoptTools.has_space(self.config, 'sell'):
|
if HyperoptTools.has_space(self.config, 'sell'):
|
||||||
# Make sure use_sell_signal is enabled
|
# Make sure use_sell_signal is enabled
|
||||||
if 'exit_pricing' not in self.config:
|
self.config['use_sell_signal'] = True
|
||||||
self.config['exit_pricing'] = {}
|
|
||||||
self.config['exit_pricing']['use_sell_signal'] = True
|
|
||||||
|
|
||||||
self.print_all = self.config.get('print_all', False)
|
self.print_all = self.config.get('print_all', False)
|
||||||
self.hyperopt_table_header = 0
|
self.hyperopt_table_header = 0
|
||||||
|
Loading…
Reference in New Issue
Block a user