行业市盈率巨潮
临时获取巨潮行业市盈率数据,默认不入库。
临时请求巨潮行业市盈率专题统计,按日期和行业分类返回,默认不入库。
输入参数
| 参数 | 类型 | 必填 | 说明 | 默认值 |
|---|---|---|---|---|
classification | string | 否 | 行业分类:证监会行业分类、国证行业分类;也支持 008001、008200;默认 证监会行业分类。 | "证监会行业分类" |
date | string | 否 | 查询日期,YYYYMMDD 或 YYYY-MM-DD;默认 20240617。 | "20240617" |
limit | integer | 否 | 最多返回行数,默认 100,最大 1000。 | 100 |
返回字段
| 字段 | 类型 | 说明 |
|---|---|---|
change_date | date | 变动日期/查询日期,格式 YYYYMMDD。 |
classification | string | 行业分类。 |
industry_level | integer | 行业层级。 |
industry_code | string | 行业编码。 |
industry_name | string | 行业名称。 |
company_count | number | 公司数量,单位:家。 |
included_company_count | number | 纳入计算公司数量,单位:家。 |
total_market_value_static | number | 总市值-静态,金额单位/口径沿用巨潮源端。 |
net_profit_static | number | 净利润-静态,金额单位/口径沿用巨潮源端。 |
static_pe_weighted | number | 静态市盈率-加权平均。 |
static_pe_median | number | 静态市盈率-中位数。 |
static_pe_mean | number | 静态市盈率-算术平均。 |
调用示例
Python SDK
import axdata as ax
client = ax.AxDataClient()
rows = client.call(
"stock_industry_pe_ratio_cninfo",
classification='证监会行业分类',
date='20240617',
limit=1,
)
HTTP API
POST /v1/request/stock_industry_pe_ratio_cninfo
Content-Type: application/json
{
"params": {
"classification": "证监会行业分类",
"date": "20240617",
"limit": 1
}
}
真实样例快照
展示插件接口目录里的固定 example.response,页面打开不会再次请求源端。
请求参数
{
"classification": "证监会行业分类",
"date": "20240617",
"limit": 1
}
响应样例
| change_date | classification | industry_level | industry_code | industry_name | company_count | included_company_count | total_market_value_static | net_profit_static | static_pe_weighted | static_pe_median | static_pe_mean |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 20240617 | 中国上市公司协会上市公司行业分类标准 | 1 | A | 农、林、牧、渔业 | 44.0 | 25.0 | 1763.9036 | 162.8539 | 10.83 | 30.31 | 50.03 |
生成时间:2026-07-06T16:54:55+00:00