獲取資金費率記錄
GET
/az/future/market/v1/public/q/funding-rate-record
注:此方法不需要簽名
請求參數
| 參數 | 類型 | 是否必須 | 默認值 | 描述 | 取值範圍 |
|---|---|---|---|---|---|
| symbol | string | false | N/A | 交易對 | |
| id | integer | false | N/A | id | |
| direction | string | false | NEXT | 方向(PREV:上一頁;NEXT:下一頁) | PREV;NEXT |
| limit | integer | false | 10 | 條數 |
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": "554830922718404672", //id
"symbol": "btc_usdt", //交易對
"fundingRate": "-0.000162821857",//最新資金費率
"createdTime": 1761984000000, //時間戳
"collectionInternal": 3600 //收取時間間隔(秒)
}
]
}
}