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