From b1e08652064a4310762d391544db4dd23aa7ebba Mon Sep 17 00:00:00 2001 From: Jkorf Date: Fri, 15 Nov 2024 10:48:51 +0100 Subject: [PATCH] Fixed available balance response on shared futures implementation --- .../BingXRestClientPerpetualFuturesApiShared.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BingX.Net/Clients/PerpetualFuturesApi/BingXRestClientPerpetualFuturesApiShared.cs b/BingX.Net/Clients/PerpetualFuturesApi/BingXRestClientPerpetualFuturesApiShared.cs index fddcbc9..b157995 100644 --- a/BingX.Net/Clients/PerpetualFuturesApi/BingXRestClientPerpetualFuturesApiShared.cs +++ b/BingX.Net/Clients/PerpetualFuturesApi/BingXRestClientPerpetualFuturesApiShared.cs @@ -771,7 +771,7 @@ async Task>> IBalanceRestClient.Get if (!result) return result.AsExchangeResult>(Exchange, null, default); - return result.AsExchangeResult>(Exchange, SupportedTradingModes, result.Data.Select(x => new SharedBalance(x.Asset, x.Balance, x.Equity)).ToArray()); + return result.AsExchangeResult>(Exchange, SupportedTradingModes, result.Data.Select(x => new SharedBalance(x.Asset, x.AvailableMargin, x.Equity)).ToArray()); } #endregion