From 8f0ac0aaeae1db678f6c69136c4c375cbab2a0be Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 7 Jul 2024 16:27:53 +0200 Subject: [PATCH] Remove old output from hyperopt-list --- freqtrade/commands/hyperopt_commands.py | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/freqtrade/commands/hyperopt_commands.py b/freqtrade/commands/hyperopt_commands.py index 746fafe92..e6c264051 100644 --- a/freqtrade/commands/hyperopt_commands.py +++ b/freqtrade/commands/hyperopt_commands.py @@ -41,24 +41,14 @@ def start_hyperopt_list(args: Dict[str, Any]) -> None: if not export_csv: try: - print( - HyperoptTools.get_result_table( - config, - epochs, - total_epochs, - not config.get("hyperopt_list_best", False), - print_colorized, - 0, - ) - ) - hot = HyperoptOutput() - hot.add_data( + h_out = HyperoptOutput() + h_out.add_data( config, epochs, total_epochs, not config.get("hyperopt_list_best", False), ) - hot.print(print_colorized=print_colorized) + h_out.print(print_colorized=print_colorized) except KeyboardInterrupt: print("User interrupted..")