获取资金费率记录
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 //收取时间间隔(秒)
}
]
}
}