Get Cross/Isolated Margin Risk Limit/Currency config
This interface can obtain the risk limit and currency configuration of cross margin/isolated margin.
HTTP REQUEST
Get /api/v3/margin/currencies
Example
Get /api/v3/margin/currencies
// CROSS MARGIN RESPONSES
{
"success": true,
"code": "200",
"msg": "success",
"retry": false,
"data": [
{
"timestamp": 1697783812257,
"currency": "XMR",
"borrowMaxAmount": "999999999999999999",
"buyMaxAmount": "999999999999999999",
"holdMaxAmount": "999999999999999999",
"borrowCoefficient": "0.5",
"marginCoefficient": "1",
"precision": 8,
"borrowMinAmount": "0.001",
"borrowMinUnit": "0.001",
"borrowEnabled": true
}
]
}
// ISOLATED MARGIN RESPONSES
{
"success": true,
"code": "200",
"msg": "success",
"retry": false,
"data": [
{
"timestamp": 1697782543851,
"symbol": "LUNC-USDT",
"baseMaxBorrowAmount": "999999999999999999",
"quoteMaxBorrowAmount": "999999999999999999",
"baseMaxBuyAmount": "999999999999999999",
"quoteMaxBuyAmount": "999999999999999999",
"baseMaxHoldAmount": "999999999999999999",
"quoteMaxHoldAmount": "999999999999999999",
"basePrecision": 8,
"quotePrecision": 8,
"baseBorrowCoefficient": "1",
"quoteBorrowCoefficient": "1",
"baseMarginCoefficient": "1",
"quoteMarginCoefficient": "1",
"baseBorrowMinAmount": null,
"baseBorrowMinUnit": null,
"quoteBorrowMinAmount": "0.001",
"quoteBorrowMinUnit": "0.001",
"baseBorrowEnabled": false,
"quoteBorrowEnabled": true
}
]
}
API KEY PERMISSIONS
This endpoint requires the General permission.
REQUEST URL
This endpoint support Spot URL
REQUEST RATE LIMIT
Spot weight
:20
PARAMETERS
Param | Type | Mandatory | Description |
---|---|---|---|
isIsolated | Boolean | Yes | true - isolated, false - cross ; default false |
symbol | String | No | symbol, required for isolated margin accounts |
currency | String | No | currency,for isolating margin, this param don't need to be filled in |
CROSS MARGIN RESPONSES
Param | Description |
---|---|
currency | currency |
holdMaxAmount | Maximum holding amount |
borrowMaxAmount | Maximum personal borrow amount. If the platform has no borrowing amount, this value will still be displayed. |
borrowMinAmount | Minimum personal borrow amount |
precision | Currency precision. the minimum repayment amount of a single transaction should be >= currency precision, for example, the precision of ETH is 8, and the minimum repayment amount is 0.00000001 |
buyMaxAmount | Maximum buy amount |
borrowCoefficient | Borrow coefficient (opens new window) |
marginCoefficient | Margin coefficient (opens new window) |
borrowMinUnit | Minimum unit for borrowing, the borrowed amount must be an integer multiple of this value |
borrowEnabled | Whether to support borrowing |
ISOLATED MARGIN RESPONSES
Param | Description |
---|---|
symbol | currency |
baseMaxBorrowAmount | base maximum personal borrow amount. If the platform has no borrowing amount, this value will still be displayed. |
quoteMaxBorrowAmount | quote maximum personal borrow amount. If the platform has no borrowing amount, this value will still be displayed. |
baseMaxBuyAmount | base maximum buy amount |
quoteMaxBuyAmount | quote maximum buy amount |
baseMaxHoldAmount | base maximum holding amount |
quoteMaxHoldAmount | quote maximum holding amount |
basePrecision | base currency precision. the minimum repayment amount of a single transaction should be >= currency precision, for example, the precision of ETH is 8, and the minimum repayment amount is 0.00000001 |
quotePrecision | quote currency precision. the minimum repayment amount of a single transaction should be >= currency precision, for example, the precision of ETH is 8, and the minimum repayment amount is 0.00000001 |
baseBorrowMinAmount | base minimum personal borrow amount |
quoteBorrowMinAmount | quote minimum personal borrow amount |
baseBorrowMinUnit | base minimum unit for borrowing, the borrowed amount must be an integer multiple of this value |
quoteBorrowMinUnit | quote minimum unit for borrowing, the borrowed amount must be an integer multiple of this value |
baseBorrowEnabled | base whether to support borrowing |
quoteBorrowEnabled | quote whether to support borrowing |