From 454046f74596123f7b0b3ba3f2a96f3d8dce32ef Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 26 Jul 2020 15:55:54 +0200 Subject: [PATCH] Add stake_currency and max_opeN_trades to backtest result --- freqtrade/optimize/optimize_reports.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/freqtrade/optimize/optimize_reports.py b/freqtrade/optimize/optimize_reports.py index c0e1347cc..587ed303d 100644 --- a/freqtrade/optimize/optimize_reports.py +++ b/freqtrade/optimize/optimize_reports.py @@ -262,6 +262,8 @@ def generate_backtest_stats(config: Dict, btdata: Dict[str, DataFrame], 'market_change': market_change, 'pairlist': list(btdata.keys()), 'stake_amount': config['stake_amount'], + 'stake_currency': config['stake_currency'], + 'max_open_trades': config['max_open_trades'], **daily_stats, } result['strategy'][strategy] = strat_stats