估值指标
获取当前估值指标(市盈率、市净率、市销率、股息率)及 5 年历史区间数据。
SDK Links
Parameters
SDK 方法参数。
| Name | Type | Required | Description |
|---|---|---|---|
| symbol | string | 是 | 证券代码,例如 AAPL.US |
| indicator | string | 否 | 指标筛选:pe、pb、ps、dvd_yld |
Request Example
Response
Response Example
json
{
"code": 0,
"message": "success",
"data": {
"metrics": {
"pe": { "current": "29.5", "high": "35.2", "low": "18.0", "median": "26.0" },
"pb": { "current": "45.1", "high": "50.0", "low": "30.0", "median": "42.0" }
}
}
}Response Status
| Status | Description | Schema |
|---|---|---|
| 200 | 成功 | ValuationsResponse |
| 400 | 请求错误 | None |
Schemas
ValuationsResponse
| Name | Type | Required | Description |
|---|---|---|---|
| metrics | object | 是 | 估值指标映射 |
| ∟ pe | object | 否 | 市盈率数据 |
| ∟∟ current | string | 是 | 当前值 |
| ∟∟ high | string | 是 | 5 年最高值 |
| ∟∟ low | string | 是 | 5 年最低值 |
| ∟∟ median | string | 是 | 5 年中位值 |