mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-13 23:16:45 +00:00
kraken futures: fix account info currency pairs (#791)
This commit is contained in:
@@ -604,7 +604,7 @@ func (k *Kraken) UpdateAccountInfo(ctx context.Context, assetType asset.Item) (a
|
||||
for name := range bal.Accounts {
|
||||
for code := range bal.Accounts[name].Balances {
|
||||
balances = append(balances, account.Balance{
|
||||
CurrencyName: currency.NewCode(name),
|
||||
CurrencyName: currency.NewCode(code),
|
||||
TotalValue: bal.Accounts[name].Balances[code],
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user