Apply get_available_balance logic to regular trades, too

This commit is contained in:
Matthias
2020-01-03 10:41:10 +01:00
parent 3c7981160c
commit 455838648d
2 changed files with 3 additions and 2 deletions

View File

@@ -305,7 +305,7 @@ class FreqtradeBot:
for the stake currency
:return: float: Stake amount
"""
available_amount = self.wallets.get_free(self.config['stake_currency'])
available_amount = self._get_available_stake_amount()
if stake_amount is not None and available_amount < stake_amount:
raise DependencyException(