We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47d59f8 commit a0e9b77Copy full SHA for a0e9b77
freqtrade/util/dry_run_wallet.py
@@ -9,4 +9,4 @@ def get_dry_run_wallet(config: Config) -> int | float:
9
if isinstance(_start_cap := config["dry_run_wallet"], float | int):
10
return _start_cap
11
else:
12
- return _start_cap.get("stake_currency")
+ return _start_cap.get(config["stake_currency"], 0.0)
0 commit comments