Equity TotalBalabce
drbastem opened this issue · 3 comments
How can I find the total balance? (Equity Value)
This Code gives you balances information for all assets:
string asset = "USDT"; var result = await binanceClient.GetAccountInfo(); var FreeQty = result.Balances.FirstOrDefault(s => s.Asset == asset).Free;
This Code gives you balances information for all assets:
string asset = "USDT"; var result = await binanceClient.GetAccountInfo(); var FreeQty = result.Balances.FirstOrDefault(s => s.Asset == asset).Free;
I'm using the Console application
This Code did not work. the total asset I want in USD (Equity Balances)
var zirbik = client.General.GetAccountInfo();
string asset = "USDT";
var FreeQty = zirbik.Data.Balances.FirstOrDefault(s => s.Asset == asset).Free
This Code gives you balances information for all assets:
string asset = "USDT"; var result = await binanceClient.GetAccountInfo(); var FreeQty = result.Balances.FirstOrDefault(s => s.Asset == asset).Free;
Hello there;
Thanks for your help. But I want to know my total balance in USD. Your code only gives your USDT balance. I have multiple processes like DOGE, FIRO, ICX.