Get Balance in Margin Account
Info
- This endpoint requires signature. For specific signature rules, please refer to Authentication
- This endpoint will trigger rate limit. For specific rules, please refer to Rate Limit.
HTTP request
GET /assets/margin/balance
Request parameters
Parameter Name | Required | Type | Notes |
---|---|---|---|
market | false | string | Markets |
Return parameters
Parameter Name | Type | Notes |
---|---|---|
margin_account | string | Margin Account.Margin market name. |
base_ccy | string | Base currency |
quote_ccy | string | Quote currency |
available | object | Balance available. Assets available for placing orders, including incoming transfers and borrowed assets. |
available.base_ccy | string | Balance available in base currency |
available.quote_ccy | string | Balance available in quote currency |
frozen | object | Frozen balance. Assets in margin account that cannot be used for orders or transfers. |
frozen.base_ccy | string | Frozen balance in base currency |
frozen.quote_ccy | string | Frozen balance in quote currency |
repaid | object | To-be-repaid amount.The amount of borrowed currency to be repaid. |
repaid.base_ccy | string | To-be-repaid base currency amount |
repaid.quote_ccy | string | To-be-repaid quote currency amount |
interest | object | Interest amount.The amount of interest to be repaid. |
interest.base_ccy | string | Interest in base currency |
interest.quote_ccy | string | Interest in quote currency |
risk_rate | string | Current risk rate.
|
liq_price | string | Liquidation price.
|
Request example
GET /assets/margin/balance
Response example
{
"code": 0,
"data": [
{
"margin_account": "CETUSDT",
"base_ccy": "CET",
"quote_ccy": "USDT",
"available": {
"base_ccy": "45945.5263788804",
"quote_ccy": "0"
},
"frozen": {
"base_ccy": "50634.82448865128",
"quote_ccy": "0"
},
"repaid": {
"base_ccy": "14265.938812991284",
"quote_ccy": "0"
},
"interest": {
"base_ccy": "4321.234123894434",
"quote_ccy": "0"
},
"rik_rate": "",
"liq_price": ""
},
],
"message": "OK"
}