From d638f0b9fb819627b5bce230eb30fa82ed2ca9cd Mon Sep 17 00:00:00 2001 From: Yordan Miladinov Date: Thu, 5 Aug 2021 05:01:14 +0300 Subject: [PATCH] exchanges/binance: Binance.UpdateAccountInfo() now correctly assigns Balance.Hold for spot (#736) --- exchanges/binance/binance_wrapper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exchanges/binance/binance_wrapper.go b/exchanges/binance/binance_wrapper.go index 0e7d65aa..815f0661 100644 --- a/exchanges/binance/binance_wrapper.go +++ b/exchanges/binance/binance_wrapper.go @@ -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, }) }