Use get_base_currency instead of splitting by /

This commit is contained in:
Matthias
2020-02-25 07:01:31 +01:00
parent e9448dc5e2
commit e8eaa8920e
2 changed files with 2 additions and 3 deletions

View File

@@ -74,7 +74,7 @@ class Wallets:
)
for trade in open_trades:
curr = trade.pair.split('/')[0]
curr = self._exchange.get_pair_base_currency(trade.pair)
_wallets[curr] = Wallet(
curr,
trade.amount,