Skip to content

Commit

Permalink
Fixed available balance response on shared futures implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
JKorf committed Nov 15, 2024
1 parent c8ceb27 commit b1e0865
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,7 @@ async Task<ExchangeWebResult<IEnumerable<SharedBalance>>> IBalanceRestClient.Get
if (!result)
return result.AsExchangeResult<IEnumerable<SharedBalance>>(Exchange, null, default);

return result.AsExchangeResult<IEnumerable<SharedBalance>>(Exchange, SupportedTradingModes, result.Data.Select(x => new SharedBalance(x.Asset, x.Balance, x.Equity)).ToArray());
return result.AsExchangeResult<IEnumerable<SharedBalance>>(Exchange, SupportedTradingModes, result.Data.Select(x => new SharedBalance(x.Asset, x.AvailableMargin, x.Equity)).ToArray());
}

#endregion
Expand Down

0 comments on commit b1e0865

Please sign in to comment.