PE/PB估值通道通达信
查询 PE/PB Band 估值通道数据,用于绘制估值带图。
查询 PE/PB Band 估值通道数据,用于绘制估值带图。
输入参数
| 参数 | 类型 | 必填 | 说明 | 默认值 |
|---|---|---|---|---|
code | string | 是 | 股票代码:支持 000001、000001.SZ、sz000001;批量可传列表或英文逗号分隔字符串。 | |
metric | string | 否 | 指标:pe 或 pb;默认 pe。 | "pe" |
start_date | string | 否 | 起始日期,可选;按 date 过滤。 | |
end_date | string | 否 | 结束日期,可选;按 date 过滤。 | |
count | integer | 否 | 返回条数,默认 20。 | 20 |
参数示例
# 单个标的
client.call("stock_valuation_band_tdx", code="000001.SZ", metric="pe", count=5)
# 批量请求多个标的
client.call("stock_valuation_band_tdx", code=["000034.SZ", "000001.SZ"], metric="pe", count=5)返回字段
| 字段 | 类型 | 说明 |
|---|---|---|
instrument_id | string | AxData 统一证券代码,例如 000001.SZ。 |
symbol | string | 交易所原始六位代码。 |
date | date | 日期。 |
band_value_1 | number | 当前 PE 或 PB 指标值。 |
band_value_2 | number | 通道辅助值 2,源端用于绘制 Band。 |
band_value_3 | number | 通道辅助值 3,源端用于绘制 Band。 |
total_count | integer | 当前统计区间样本数。 |
min_value | number | 当前统计区间最小值。 |
mid_value | number | 当前统计区间中位值。 |
调用示例
Python SDK
import axdata as ax
client = ax.AxDataClient()
rows = client.call(
"stock_valuation_band_tdx",
code='000001.SZ',
count=20,
metric='pe',
)
HTTP API
POST /v1/request/stock_valuation_band_tdx
Content-Type: application/json
{
"params": {
"code": "000001.SZ",
"metric": "pe",
"count": 20
}
}
真实样例快照
展示插件接口目录里的固定 example.response,页面打开不会再次请求源端。
请求参数
{
"code": "000001.SZ",
"metric": "pe",
"count": 20
}
响应样例
| instrument_id | symbol |
|---|---|
| 000001.SZ | 000001 |
生成时间:2026-07-06T16:54:55+00:00