获取合约指数价格
HTTP请求
- GET
/api/v1/contract/index_price/{symbol}
请求参数
| 参数名 | 类型 | 是否必填 | 说明 |
|---|---|---|---|
| symbol | string | true | 合约名 |
返回参数
| 参数名 | 类型 | 说明 |
|---|---|---|
| symbol | string | 交易对 |
| indexPrice | decimal | 指数价格 |
| timestamp | long | 系统时间戳 |
响应
{
"success": true,
"code": 0,
"data": {
"symbol": "BTC_USDT",
"indexPrice": 31103.4,
"timestamp": 1609829705178
}
}