From 8ee0b0d8e85228cdade883066edef1d29af2a0c9 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 2 May 2021 10:46:04 +0200 Subject: [PATCH] Store not optimized parameters (if applicable) --- freqtrade/optimize/hyperopt.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/freqtrade/optimize/hyperopt.py b/freqtrade/optimize/hyperopt.py index 4e32c2ecb..ec3c6f385 100644 --- a/freqtrade/optimize/hyperopt.py +++ b/freqtrade/optimize/hyperopt.py @@ -301,6 +301,8 @@ class Hyperopt: results_explanation = HyperoptTools.format_results_explanation_string( strat_stats, self.config['stake_currency']) + not_optimized = self.backtesting.strategy.get_params_dict() + trade_count = strat_stats['total_trades'] total_profit = strat_stats['profit_total'] @@ -318,6 +320,7 @@ class Hyperopt: 'loss': loss, 'params_dict': params_dict, 'params_details': params_details, + 'params_not_optimized': not_optimized, 'results_metrics': strat_stats, 'results_explanation': results_explanation, 'total_profit': total_profit,