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
1 changed files with 3 additions and 0 deletions

View File

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