跳至主要内容

獲取交易對風險基金餘額

GET

/az/future/market/v1/public/contract/risk-balance

注:此方法不需要簽名

請求參數​

參數類型是否必須默認值描述取值範圍
symbolstringtrue交易對
directionstringfalseNEXT方向(PREV:上一頁;NEXT:下一頁)PREV;NEXT
idintegerfalseN/Aid
limitintegerfalse10條數

Java

public void getKLine() {
String text = HttpUtil.get(URL + "/data/api/az/future/market/v1/getKLine?market=btc_usdt&type=1min&since=0");
System.out.println(text);
}

Response

{
"error": {
"code": "",
"msg": ""
},
"msgInfo": "success",
"returnCode": 0,
"result": {
"hasPrev": false, //是否有上一頁
"hasNext": true, //是否有下一頁
"items": [
{
"id": "554744372432733187", //id
"coin": "usdt", //幣種
"amount": "-10624.3177", //餘額
"createdTime": 1761963365040 //時間戳
}
]
}
}