獲取全倉/逐倉杠桿的風險限额/币种配置

此接口可獲取全倉/逐倉槓桿的風險限額和币种配置

HTTP請求

Get /api/v3/margin/currencies

請求示例

Get /api/v3/margin/currencies

// 全倉返回值
{
    "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
        }
    ]
}

// 逐倉返回值
{
    "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權限

此接口需要通用權限

請求URL

此接口支持現貨URL

頻率限制

現貨類權重:20

請求參數
請求參數 類型 是否必須 含義
isIsolated Boolean true-逐倉,false-全倉;默認false
symbol String 交易對,逐倉賬戶必填
currency String 幣種,逐倉時,此字段無需填寫
全倉返回值
字段 含義
currency 幣種名稱
holdMaxAmount 最大持有量
borrowMaxAmount 個人最大借入量,如果平臺暫無可借數量,此數值依舊會顯示
borrowMinAmount 最小借入量
precision 幣種精度,目前單筆最小還幣數量>=幣種精準度即可,例如ETH精準度為8,最小還幣數 0.00000001
buyMaxAmount 最大買入量
borrowCoefficient 借貸係數 (opens new window)
marginCoefficient 保證金係數 (opens new window)
borrowMinUnit 借貸最小單位,借入金額必須是該值的整數倍
borrowEnabled 是否支持借貸
逐倉返回值
字段 含義
symbol 交易对
baseMaxBorrowAmount base最大借入,如果平臺暫無可借數量,此數值依舊會顯示
quoteMaxBorrowAmount quote最大借入,如果平臺暫無可借數量,此數值依舊會顯示
baseMaxBuyAmount base最大买入
quoteMaxBuyAmount quote最大买入
baseMaxHoldAmount base最大持仓
quoteMaxHoldAmount quote最大持仓
basePrecision base幣種精度,目前單筆最小還幣數量>=幣種精準度即可,例如ETH精準度為8,最小還幣數 0.00000001
quotePrecision quote幣種精度,目前單筆最小還幣數量>=幣種精準度即可,例如ETH精準度為8,最小還幣數 0.00000001
baseBorrowMinAmount base最小借入量
quoteBorrowMinAmount quote最小借入量
baseBorrowMinUnit base借贷的最小单位,借入金额必需是该值的整数倍
quoteBorrowMinUnit quote借贷的最小单位,借入金额必需是该值的整数倍
baseBorrowEnabled base是否可借
quoteBorrowEnabled quote是否可借

獲取全倉/逐倉杠桿的風險限额/币种配置