跳至主要内容

查詢風險率

HTTP 請求

GET /v5/ins-loan/ltv-convert

請求參數

返回參數

參數類型說明
ltvInfoarrayObject
> ltvstring風險率
  • 該數據是實時計算
  • 如果持有機構借貸, 強烈建議每秒查詢一次ltv。當達到0.9 (90%)時即觸發強平
  • > rststring剩餘清算時間(UTC 時間,以秒為單位)。 未觸發時顯示為空字串。
    > parentUidstring被指定綁定為機構借貸產品的風險單元Id
    > subAccountUidsarray綁定場外借貸產品的UID
    > unpaidAmountstring總負債 (USDT)
    > unpaidInfoarray負債明細
    >> tokenstring幣種
    >> unpaidQtystring未還本金
    >> unpaidIntereststring該字段無效, 暫時請忽略
    > balancestring總資產(保證金幣種資產折算為USDT資產). 可以參考這裡了解詳細計算
    > balanceInfoarray資產明細
    >> tokenstring保證金幣種
    >> pricestring保證金幣種價格
    >> qtystring保證金數量
    >> convertedAmountstring保證金折算金額

    請求示例

    GET /v5/ins-loan/ltv-convert HTTP/1.1
    Host: api-testnet.bybit.com
    X-BAPI-API-KEY: XXXXX
    X-BAPI-TIMESTAMP: 1686638165351
    X-BAPI-RECV-WINDOW: 5000
    X-BAPI-SIGN: XXXXX

    響應示例

    {
    "retCode": 0,
    "retMsg": "",
    "result": {
    "ltvInfo": [
    {
    "ltv": "0.75",
    "rst": "",
    "parentUid": "xxxxx",
    "subAccountUids": [
    "60568258"
    ],
    "unpaidAmount": "30",
    "unpaidInfo": [
    {
    "token": "USDT",
    "unpaidQty": "30",
    "unpaidInterest": "0"
    }
    ],
    "balance": "40",
    "balanceInfo": [
    {
    "token": "USDT",
    "price": "1",
    "qty": "40",
    "convertedAmount": "40"
    }
    ]
    }
    ]
    },
    "retExtInfo": {},
    "time": 1686638166323
    }