Have dry_run_wallet default to 1000

This commit is contained in:
Matthias
2019-12-15 09:22:15 +01:00
parent 2f7181e236
commit 931d24b5a8
3 changed files with 5 additions and 4 deletions

View File

@@ -479,7 +479,7 @@ class Exchange:
@retrier
def get_balance(self, currency: str) -> float:
if self._config['dry_run']:
return constants.DRY_RUN_WALLET
return self._config['dry_run_wallet']
# ccxt exception is already handled by get_balances
balances = self.get_balances()