From 2e5b719de82e52c46e1778845a7571d70f728d62 Mon Sep 17 00:00:00 2001 From: barbarius Date: Mon, 28 Jun 2021 10:54:54 +0200 Subject: [PATCH] Added timerange above multiple strategy backtest result summary table --- freqtrade/optimize/optimize_reports.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/freqtrade/optimize/optimize_reports.py b/freqtrade/optimize/optimize_reports.py index 52562978b..ad2432c21 100644 --- a/freqtrade/optimize/optimize_reports.py +++ b/freqtrade/optimize/optimize_reports.py @@ -660,8 +660,9 @@ def show_backtest_results(config: Dict, backtest_stats: Dict): show_backtest_result(strategy, results, stake_currency) if len(backtest_stats['strategy']) > 1: - backtest_timerange = f"{next(iter(backtest_stats['strategy'].items()))[1]['backtest_start']} -> " \ - f"{next(iter(backtest_stats['strategy'].items()))[1]['backtest_end']}" + backtest_timerange = \ + f"{next(iter(backtest_stats['strategy'].items()))[1]['backtest_start']} -> " \ + f"{next(iter(backtest_stats['strategy'].items()))[1]['backtest_end']}" # Print Strategy summary table