From 2dc36bb79eece79fd20c7ffac92fb1c12ba4177e Mon Sep 17 00:00:00 2001 From: Matthias Date: Tue, 11 Aug 2020 20:52:18 +0200 Subject: [PATCH] Remove inversion of min/max objective selection --- freqtrade/commands/hyperopt_commands.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/freqtrade/commands/hyperopt_commands.py b/freqtrade/commands/hyperopt_commands.py index a724443cf..d37c1f13b 100755 --- a/freqtrade/commands/hyperopt_commands.py +++ b/freqtrade/commands/hyperopt_commands.py @@ -99,11 +99,6 @@ def start_hyperopt_show(args: Dict[str, Any]) -> None: 'filter_max_objective': config.get('hyperopt_list_max_objective', None) } - if filteroptions['filter_min_objective'] is not None: - filteroptions['filter_min_objective'] = -filteroptions['filter_min_objective'] - if filteroptions['filter_max_objective'] is not None: - filteroptions['filter_max_objective'] = -filteroptions['filter_max_objective'] - # Previous evaluations epochs = Hyperopt.load_previous_results(results_file) total_epochs = len(epochs)