Skip to content

Commit

Permalink
fixup! GateIO: Split asset.Futures into CoinM and USDT
Browse files Browse the repository at this point in the history
  • Loading branch information
gbjk committed Feb 13, 2025
1 parent 13b349a commit b43b430
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exchanges/gateio/gateio_wrapper.go
Original file line number Diff line number Diff line change
Expand Up @@ -755,7 +755,7 @@ func (g *Gateio) UpdateAccountInfo(ctx context.Context, a asset.Item) (account.H
for i := range balances {
currencies[i] = account.Balance{
Currency: currency.NewCode(balances[i].Currency),
Total: balances[i].Available.Float64() - balances[i].Locked.Float64(),
Total: balances[i].Available.Float64() + balances[i].Locked.Float64(),
Hold: balances[i].Locked.Float64(),
Free: balances[i].Available.Float64(),
}
Expand Down

0 comments on commit b43b430

Please sign in to comment.