Add pairlist to backtest-result

This commit is contained in:
Matthias
2020-06-28 09:04:19 +02:00
parent 59ac4b9c9a
commit 59e0ca0aaa
4 changed files with 5 additions and 2 deletions

View File

@@ -250,6 +250,7 @@ def generate_backtest_stats(config: Dict, btdata: Dict[str, DataFrame],
'backtest_days': backtest_days,
'trades_per_day': round(len(results) / backtest_days, 2) if backtest_days > 0 else None,
'market_change': market_change,
'pairlist': list(btdata.keys()),
'stake_amount': config['stake_amount']
}
result['strategy'][strategy] = strat_stats