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)