Allow wallet update from /balance

This commit is contained in:
Matthias
2020-01-15 06:43:41 +01:00
parent 4013701bdb
commit c8806a16a1
2 changed files with 8 additions and 1 deletions

View File

@@ -306,6 +306,8 @@ class RPC:
except (TemporaryError, DependencyException):
raise RPCException('Error getting current tickers.')
self._freqtrade.wallets.update(require_update=False)
for coin, balance in self._freqtrade.wallets.get_all_balances().items():
if not balance.total:
continue