Added timerange above multiple strategy backtest result summary table
This commit is contained in:
parent
c99ae3b419
commit
2e5b719de8
@ -660,8 +660,9 @@ def show_backtest_results(config: Dict, backtest_stats: Dict):
|
|||||||
show_backtest_result(strategy, results, stake_currency)
|
show_backtest_result(strategy, results, stake_currency)
|
||||||
|
|
||||||
if len(backtest_stats['strategy']) > 1:
|
if len(backtest_stats['strategy']) > 1:
|
||||||
backtest_timerange = f"{next(iter(backtest_stats['strategy'].items()))[1]['backtest_start']} -> " \
|
backtest_timerange = \
|
||||||
f"{next(iter(backtest_stats['strategy'].items()))[1]['backtest_end']}"
|
f"{next(iter(backtest_stats['strategy'].items()))[1]['backtest_start']} -> " \
|
||||||
|
f"{next(iter(backtest_stats['strategy'].items()))[1]['backtest_end']}"
|
||||||
|
|
||||||
# Print Strategy summary table
|
# Print Strategy summary table
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user