Seperate detail data loading from regular backest-data loading

This commit is contained in:
Matthias
2021-08-14 15:34:43 +02:00
parent 88172fab82
commit 8405ccc15e
7 changed files with 32 additions and 20 deletions

View File

@@ -368,6 +368,7 @@ def generate_strategy_stats(btdata: Dict[str, DataFrame],
'max_open_trades_setting': (config['max_open_trades']
if config['max_open_trades'] != float('inf') else -1),
'timeframe': config['timeframe'],
'timeframe_detail': config.get('timeframe_detail', ''),
'timerange': config.get('timerange', ''),
'enable_protections': config.get('enable_protections', False),
'strategy_name': strategy,