Add stake_currency and max_opeN_trades to backtest result

This commit is contained in:
Matthias 2020-07-26 15:55:54 +02:00
parent 8d0f338bf2
commit 454046f745

View File

@ -262,6 +262,8 @@ def generate_backtest_stats(config: Dict, btdata: Dict[str, DataFrame],
'market_change': market_change, 'market_change': market_change,
'pairlist': list(btdata.keys()), 'pairlist': list(btdata.keys()),
'stake_amount': config['stake_amount'], 'stake_amount': config['stake_amount'],
'stake_currency': config['stake_currency'],
'max_open_trades': config['max_open_trades'],
**daily_stats, **daily_stats,
} }
result['strategy'][strategy] = strat_stats result['strategy'][strategy] = strat_stats