Ensure wallets.update is called before buy

closes #2756
This commit is contained in:
Matthias 2020-01-09 20:09:21 +01:00
parent b748ed3435
commit 9713dc8d94

View File

@ -257,6 +257,9 @@ class FreqtradeBot:
:raise: DependencyException if the available stake amount is too low :raise: DependencyException if the available stake amount is too low
""" """
stake_amount: float stake_amount: float
# Ensure wallets are uptodate.
self.wallets.update()
if self.edge: if self.edge:
stake_amount = self.edge.stake_amount( stake_amount = self.edge.stake_amount(
pair, pair,