Skip to content

Commit a0e9b77

Browse files
committed
fix: fix problem in for dict based wallets
1 parent 47d59f8 commit a0e9b77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

freqtrade/util/dry_run_wallet.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ def get_dry_run_wallet(config: Config) -> int | float:
99
if isinstance(_start_cap := config["dry_run_wallet"], float | int):
1010
return _start_cap
1111
else:
12-
return _start_cap.get("stake_currency")
12+
return _start_cap.get(config["stake_currency"], 0.0)

0 commit comments

Comments
 (0)