Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /freqtrade_freqtrade /freqtrade /util /dry_run_wallet.py
| from freqtrade.constants import Config | |
| def get_dry_run_wallet(config: Config) -> int | float: | |
| """ | |
| Return dry-run wallet balance in stake currency from configuration. | |
| This setup also supports dictionary mode for dry-run-wallet. | |
| """ | |
| if isinstance(_start_cap := config["dry_run_wallet"], float | int): | |
| return _start_cap | |
| else: | |
| return _start_cap.get(config["stake_currency"], 0.0) | |
Xet Storage Details
- Size:
- 418 Bytes
- Xet hash:
- bc229dcee68a4af6873013f98f64c8bc86d3f1b9b12b7b8eae8b3d8bfd87d090
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.