mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-15 07:26:49 +00:00
exchanges/binance: Binance.UpdateAccountInfo() now correctly assigns Balance.Hold for spot (#736)
This commit is contained in:
@@ -607,7 +607,7 @@ func (b *Binance) UpdateAccountInfo(assetType asset.Item) (account.Holdings, err
|
||||
currencyBalance = append(currencyBalance, account.Balance{
|
||||
CurrencyName: currency.NewCode(raw.Balances[i].Asset),
|
||||
TotalValue: freeCurrency + lockedCurrency,
|
||||
Hold: freeCurrency,
|
||||
Hold: lockedCurrency,
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user