行业估值分布
获取该证券所在行业的估值分布直方图。
SDK Links
Parameters
SDK 方法参数。
| Name | Type | Required | Description |
|---|---|---|---|
| symbol | string | 是 | 证券代码,例如 AAPL.US |
Request Example
Response
Response Example
json
{
"code": 0,
"message": "success",
"data": {
"pe": {
"value": "28.5",
"high": "120.0",
"low": "5.0",
"median": "22.0",
"ranking": "35",
"rank_index": "12",
"rank_total": "30"
},
"pb": {
"value": "45.2",
"high": "200.0",
"low": "1.0",
"median": "8.0",
"ranking": "85",
"rank_index": "25",
"rank_total": "30"
},
"ps": {
"value": "7.8",
"high": "30.0",
"low": "0.5",
"median": "4.0",
"ranking": "70",
"rank_index": "21",
"rank_total": "30"
}
}
}Response Status
| Status | Description | Schema |
|---|---|---|
| 200 | 成功 | IndustryValuationDist |
| 400 | 请求错误 | None |
Schemas
IndustryValuationDist
| Name | Type | Required | Description |
|---|---|---|---|
| symbol | string | 是 | 证券代码 |
| metric | string | 否 | 估值指标(如 pe、pb、ps) |
| symbol_value | double | 否 | 该证券自身的估值指标数值 |
| buckets | object[] | 否 | 分布直方图区间列表 |
| buckets[].range_start | double | 否 | 区间下界 |
| buckets[].range_end | double | 否 | 区间上界 |
| buckets[].count | int32 | 否 | 该区间内的公司数量 |