查詢場外配資借貸信息
(以下內容只支持借貸中的場景) 此接口只針對當前正在借貸中的賬號查詢
HTTP請求
GET /api/v1/otc-loan/loan
請求示例
GET /api/v1/otc-loan/loan
API權限
該接口需要交易權限
返回參數
字段 | 含義 |
---|---|
parentUid | 母賬號UID |
orders | 借貸訂單 |
orderId | 借貸訂單id |
currency | 借貸幣種 |
principal | 待還本金 |
interest | 待還利息 |
ltv | LTV |
transferLtv | 限制劃轉至儲蓄賬戶的LTV |
onlyClosePosLtv | 只減倉(限制合約開倉)的LTV |
delayedLiquidationLtv | 延時強平LTV |
instantLiquidationLtv | 即時強平LTV |
currentLtv | 當前LTV |
totalMarginAmount | 保證金總金額(折USDT) |
transferMarginAmount | 維持限制劃轉保證金總金額(USDT) |
margins | 保證金 |
marginCcy | 保證金幣種 |
marginQty | 保證金數量,已計算保證金系數 |
marginFactor | 保證金系數,返回即時梯度折現率(現時保證金品類折 U 系數) |
返回示例
{
"code": "200000",
"data": {
"parentUid": "1000000",
"orders": [
{
"orderId": "1668458892612980737",
"currency": "USDT",
"principal": "100",
"interest": "0"
}
],
"ltv": {
"transferLtv": "0.6000",
"onlyClosePosLtv": "0.7500",
"delayedLiquidationLtv": "0.9000",
"instantLiquidationLtv": "0.9500",
"currentLtv": "0.0854"
},
"totalMarginAmount": "1170.36181573",
"transferMarginAmount": "166.66666666",
"margins": [
{
"marginCcy": "USDT",
"marginQty": "1170.36181573",
"marginFactor": "1.000000000000000000"
}
]
}
}