ApiProfile
API Profile
exchange object
Supported exchange
codestring
Exchange code.
Example:
BINANCEnamestring
Exchange human readable name.
Example:
BINANCE-SPOTcodestring
API profile code.
Example:
1234abcdestatusstring
API profile status.
Possible values: [active, no_assets, error, disabled]
Example:
activenamestring
API profile name.
Example:
My-API-Accountdemoboolean
Is Demo trading API or not.
Example:
falsebalance object
assets objectnullable
Assets map
property name* object
Asset balance
freenumber
Free balance of the asset.
Example:
314.14usednumber
Used balance of the asset.
Example:
0totalnumber
Total balance of the asset.
Example:
314.14collateral objectnullable
Collateral balance
freenumber
Free balance of the asset.
Example:
314.14usednumber
Used balance of the asset.
Example:
0totalnumber
Total balance of the asset.
Example:
314.14ApiProfile
{
"exchange": {
"code": "BINANCE",
"name": "BINANCE-SPOT"
},
"code": "1234abcde",
"status": "active",
"name": "My-API-Account",
"demo": false,
"balance": {
"assets": {
"USDT": {
"free": 314.14,
"used": 0,
"total": 314.14
}
},
"collateral": {
"free": 314.14,
"used": 0,
"total": 314.14
}
}
}