行業估值分佈
獲取該證券所在行業的估值分佈直方圖。
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 | 否 | 該區間內的公司數量 |