S SPARKDATA
← Back to data results

Indices

Index PE Bands

IndexPEBands
Paid · PlusJSONTry online

This API requires paid access or an active trial. Review its fields and examples first; online payments are not available yet.

Data description

Use the field names shown below when building requests.

本接口可获取境内外股票在指定区间内的收盘点位、指定估值指标(涵盖PE、PB、PS、PCF、股息率)及基于不同估值水平构建的理论点位通道线。指数覆盖范围有A股、港股及部分美股。 该接口默认由5条理论价格走势线构成,划分估值区间:上轨对应区间内估值指标的最高值,代表高估区;中上轨对应较高估值水平,为较高区;中轨对应均值水平,为合理区;中下轨对应较低估值水平,为较低区;下轨对应区间内估值指标的最低值,为低估区。 接口返回包含时间序列、收盘价、估值指标和对应的理论价格等信息。通过对比行情点位与模拟线的相对位置,辅助判断指数估值高低。 使用场景 指数动态PE-Bands核心是通过构建“上轨-中轨-下轨”的估值区间,结合指数行情点位与通道线变化,为指数估值判断、基本面趋势分析提供直观参考,包括: 1.判断当前估值水平的相对高低,辅助用户进行投资决策。通过观察指数行情点位与估值指标通道线的相对位置,可直观判断当前估值处于历史区间的相对高低。当行情点位靠近上轨时,代表当前估值处于历史高位(高估),市场情绪可能过热,需警惕回调风险;当行情点位靠近下轨时,表明当前估值处于历史低位(低估),市场情绪可能较为悲观,是进行左侧布局的机会;当行情点位位于中轨附近时,表示估值处于合理区间,适合持有观望。 2.观察‌指数成分股盈利的变化趋势,甄别指数的成长性‌:通道线本身的整体走向,能反映成分股盈利的变化趋势。若通道线整体趋势向上,说明成分股盈利持续增长,指数具备长牛的基本面支撑;若通道线走平,反映盈利增长停滞,指数缺乏上涨的核心动力;若通道线向下,表明成分股盈利恶化,需警惕业绩、估值双杀风险。 3.归因行情驱动因素,规避估值陷阱:结合指数行情点位与通道线的走向,可拆解行情是由业绩增长驱动还是估值泡沫驱动。若行情上涨伴随通道线向上,为业绩与估值共振的良性上涨;若行情上涨但通道线走平或向下,可能是估值泡沫化的短期炒作,需及时止盈;若行情下跌但通道线向上,可能是估值压缩带来的错杀机会,可逢低布局。

POST /v1/data/operations/IndexPEBands · JSON

Input parameters

FieldTypeConstraintDescription and example
indexObject
指数代码
string_array
string_array
Required
Dictionary selection: STOCK_INDEX
交易市场指数代码,支持一次获取多个品种数据

Example: ["3145"]

indicatorName
指标名称
string
string
Optional
Dictionary selection: INDEX_DERIVATIVE
支持筛选滚动市盈率、最新市净率、滚动市销率、滚动市现率、滚动股息率

Example: Example text

period
统计周期
string
string
Optional
Dictionary selection: STATISTICPERIOD_INDEX
输出数据的频率:支持周期为年、季度、月、周、日的日期展示形式

Example: Example text

beginDate
起始日期
string
string
Optional查询开始日期

Example: Example text

endDate
截止日期
string
string
Optional查询结束日期

Example: Example text

pageNo
页面编号
number
number
Optional定位分页查询的目标页码,默认不限

Example: 1

pageSize
页内记录数
number
number
Optional单页返回的最大记录条数,默认不限

Example: 5

Response fields

FieldTypeConstraintDescription and example
indexobject
指数内码
string
string
—指数在系统内部的唯一标识

Example: Example text

indexcode
指数代码
string
string
—交易市场通用的指数代码

Example: Example text

indexname
指数名称
string
string
—交易市场通用的指数简称

Example: Example text

date
日期
string
string
—指数交易日

Example: Example text

closeprice
收盘价
number
number
—指数收盘点位

Example: 1

indicatorname
指标名称
string
string
—估值指标名称: PE_TTM-滚动市盈率 PB_LF-最新市净率 PS_TTM-滚动市销率 PCF_TTM-滚动市现率 DividendRatio-滚动股息率

Example: Example text

indexvalue
指标值
number
number
—估值指标数值

Example: 1

lowerband
下轨
number
number
—下轨:指数当前收盘价*最小指标值/当前指标值

Example: 1

midlowerband
中下轨
number
number
—中下轨:指数当前收盘价*(最小指标值+间距)/当前指标值,间距=(最高 PE-最小 PE)/4

Example: 1

middleband
中轨
number
number
—中轨:指数当前收盘价*(最小指标值+2*间距)/当前指标值

Example: 1

midupperband
中上轨
number
number
—中上轨:指数当前收盘价*(最小指标值+3*间距)/当前指标值

Example: 1

upperband
上轨
number
number
—上轨:指数当前收盘价*最大指标值/当前指标值

Example: 1

Request example

Example instruments, required parameters and applicable page limits are prefilled. Open the side drawer for field notes and a live response.

{
  "parameters": {
    "indexObject": [
      "3145"
    ],
    "pageNo": 1,
    "pageSize": 5
  }
}
  • indexObject: 沪深300 · 000300.SH
  • Samples use verified instruments and dictionary values. Records depend on the query range, data updates and the selected key's permissions.
  • The sample requests 5 records; some business aggregates may return more rows, as shown in the actual response.

Coverage and access boundaries

Run the example to check the securities, dates and fields you need. Available history and content rights vary by endpoint. Requests use your account access and the selected API key.

Follow the parameter notes for minute intervals, price adjustment and time units. A missing field does not mean a zero value.