From a0e9b77f75f82245190b71cd75cb973389b516fa Mon Sep 17 00:00:00 2001 From: Matthias Date: Tue, 22 Jul 2025 07:13:59 +0200 Subject: [PATCH] fix: fix problem in for dict based wallets --- freqtrade/util/dry_run_wallet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freqtrade/util/dry_run_wallet.py b/freqtrade/util/dry_run_wallet.py index c904db6b3..82f7db142 100644 --- a/freqtrade/util/dry_run_wallet.py +++ b/freqtrade/util/dry_run_wallet.py @@ -9,4 +9,4 @@ def get_dry_run_wallet(config: Config) -> int | float: if isinstance(_start_cap := config["dry_run_wallet"], float | int): return _start_cap else: - return _start_cap.get("stake_currency") + return _start_cap.get(config["stake_currency"], 0.0)