Get Premium Index
{
"dataList": [
{
"symbol": ".XBTUSDMPI", //Premium index symbol
"granularity": 60000, //Granularity (milisecond)
"timePoint": 1558000320000, //Time point (milisecond)
"value": 0.022585 //Premium index
},
{
"symbol": ".XBTUSDMPI",
"granularity": 60000,
"timePoint": 1558000260000,
"value": 0.022611
},
{
"symbol": ".XBTUSDMPI",
"granularity": 60000,
"timePoint": 1558000200000,
"value": 0.021421
}
],
"hasMore": true //Whether there are more pages
}
submit request to get premium index.
HTTP REQUEST
GET /api/v1/premium/query
REQUEST URL
This endpoint support Futures URL
REQUEST RATE LIMIT
Public weight
:3
PARAMETERS
Param | Type | Mandatory | Description |
---|---|---|---|
symbol | String | Yes | Symbol of the contract |
startAt | long | No | Start time (milisecond) |
endAt | long | No | End time (milisecond) |
reverse | boolean | No | This parameter functions to judge whether the lookup is reverse. True means “yes”. False means no. This parameter is set as True by default |
offset | long | No | Start offset. The unique attribute of the last returned result of the last request. The data of the first page will be returned by default. |
forward | boolean | No | This parameter functions to judge whether the lookup is forward or not. True means “yes” and False means “no”. This parameter is set as true by default |
maxCount | int | No | Max record count. The default record count is 10, The maximum length cannot exceed 100 |
RESPONSES
Param | Description |
---|---|
symbol | Premium index symbol |
granularity | Granularity (milisecond) |
timePoint | Time point (milisecond) |
value | Premium index |
hasMore | Whether there are more pages |