估值历史
获取历史估值指标时间序列(市盈率、市净率、市销率、股息率)。
SDK Links
Parameters
SDK 方法参数。
| Name | Type | Required | Description |
|---|---|---|---|
| symbol | string | 是 | 证券代码,例如 AAPL.US |
Request Example
Response
Response Example
json
{
"code": 0,
"message": "success",
"data": {
"history": {
"metrics": {
"pe": {
"desc": "P/E Ratio",
"high": "35.2",
"low": "18.1",
"median": "26.5",
"list": [
{
"timestamp": "1622520000",
"value": "28.5"
}
]
},
"pb": null,
"ps": null
}
}
}
}Response Status
| Status | Description | Schema |
|---|---|---|
| 200 | 成功 | ValuationHistoryResponse |
| 400 | 请求错误 | None |
Schemas
ValuationHistoryResponse
| Name | Type | Required | Description |
|---|---|---|---|
| symbol | string | 是 | 证券代码 |
| list | object[] | 是 | 历史估值数据点列表,见 ValuationMetric |
| list[].date | string | 否 | 日期(YYYY-MM-DD) |
| list[].pe | double | 否 | 市盈率(PE) |
| list[].pb | double | 否 | 市净率(PB) |
| list[].ps | double | 否 | 市销率(PS) |
| list[].dividend_yield | double | 否 | 股息率(%) |