当前市场温度
获取当前市场温度
CLI安装 CLI
bash
# 港股市场温度
longbridge market-temp HK
# 美股市场温度
longbridge market-temp US
# A 股市场温度
longbridge market-temp CNSDK Links
Request
| HTTP Method | GET |
| HTTP URL | /v1/quote/market_temperature |
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| market | string | YES | 市场,目前支持 US、HK、SG、CN |
Request Example
Response
Response Headers
- Content-Type: application/json
Response Example
json
{
"code": 0,
"data": {
"temperature": 50,
"description": "温度适宜,保持平稳",
"valuation": 23,
"sentiment": 78,
"updated_at": 1744616612
}
}Response Status
| Status | Description | Schema |
|---|---|---|
| 200 | 返回成功 | MarketTemperatureResponse |
| 400 | 参数错误 | None |
Schemas
MarketTemperatureResponse
| Name | Type | Required | Description |
|---|---|---|---|
| temperature | integer | true | 温度值 |
| description | string | true | 温度描述 |
| valuation | integer | true | 市场估值 |
| sentiment | integer | true | 市场情绪 |
| updated_at | integer | true | 更新时间 |
错误码
| 业务错误码 | 描述 | 排查建议 |
|---|---|---|
| 2601500 | 服务端内部错误 | 请重试或联系技术人员处理 |