How can I get the balance under my different trading accounts, I want it to be in usdt instead of btc
[{
“activate”: true,
“balance”: “0.00000143”,
“walletName”: “Spot”
}, {
“activate”: true,
“balance”: “0”,
“walletName”: “Funding”
}, {
“activate”: true,
“balance”: “0.00096886”,
“walletName”: “Cross Margin”
}, {
“activate”: true,
“balance”: “0”,
“walletName”: “Isolated Margin”
}, {
“activate”: true,
“balance”: “0.00038513”,
“walletName”: “USDⓈ-M Futures”
}, {
“activate”: true,
“balance”: “0”,
“walletName”: “COIN-M Futures”
}, {
“activate”: true,
“balance”: “0”,
“walletName”: “Earn”
}, {
“activate”: false,
“balance”: “0”,
“walletName”: “Options”
}, {
“activate”: false,
“balance”: “0”,
“walletName”: “Trading Bots”
}]
this is api “/sapi/v1/asset/wallet/balance” return result
Hey,
Unfortunately, there is no direct method to retrieve balances in USDT. You will need to perform the conversion to USDT on your end.
To calculate the value of your assets in USDT, you can utilize the GET /api/v3/ticker/price
endpoint.