S SPARKDATA
← Back to data results

Indices

Index Quote Tec Indicators

IndexQuoteTecIndicators
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.

指数技术分析接口可获取市场指数基于日 K 线行情计算的技术指标,包括MA收盘价简单移动平均、VOL成交量简单移动平均、MACD指数平滑异同平均、KDJ随机指标、BOLL布林线、RSI相对强弱指标等。 典型问法:上证指数 5 日 MA 是多少;深证成指 MACD的DIFF值、DEA值、MACD值;创业板指 KDJ 走势如何;沪深 300 近一个月 RSI 数据; 1、单指数的技术指标查询 功能:输入指数名称 / 代码,获取其各类技术指标(包括 MA、VOL、MACD、KDJ 、BOLL、RSI等)数据。 示例:(1)查上证指数 20 日 MA(2)获取深证成指 BOLL 上 / 中 / 下轨(3)看创业板指当前 RSI 值 2、多指数的技术指标对比 功能:输入多个指数,可按时间筛选,对比其技术指标差异(如 MA 走势、MACD 强弱等)。 示例:(1)对比沪深 300 与中证 500 的 10 日 MA(2)查询上证 50 与创业板指的 KDJ 差异 3、指标统计分析 功能:按时间、指数类别统计指标特征(如均值、极值、排名等)。 示例:(1)统计 2023 年主要指数 60 日 MA 均值(2)查行业指数 KDJ 超买次数排名 4、指标历史数据查询 功能:按时间范围获取指数技术指标的历史数据(如每日值、走势变化等)。 示例:(1)上证指数近 30 日 MACD 历史数据(2)创业板指去年 BOLL 走势记录

POST /v1/data/operations/IndexQuoteTecIndicators · JSON

Input parameters

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

Example: ["3145"]

beginDate
开始日期
date
date
Optional查询行情数据对应的开始日期,输入格式“YYYY-MM-DD”,与结束日期跨度不超过 6 个月

Example: 2026-09-30

endDate
截止日期
date
date
Optional查询行情数据对应的结束日期,输入格式“YYYY-MM-DD”,与开始日期跨度不超过 6 个月

Example: 2026-09-30

pageNo
页面编号
number
number
Optional定位分页查询的目标页码,默认值为1

Example: 1

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

Example: 5

Response fields

FieldTypeConstraintDescription and example
indexObject
指数内码
string
string
—指数在聚源数据库的唯一标识ID

Example: Example text

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

Example: Example text

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

Example: Example text

tradingDay
交易日期
date
date
—交易日期,格式“YYYY-MM-DD”

Example: 2026-09-30

MA5
收盘价5日均线
string
string
—近5个周期的收盘价的平均值

Example: Example text

MA10
收盘价10日均线
string
string
—近10个周期的收盘价的平均值

Example: Example text

MA20
收盘价20日均线
string
string
—近20个周期的收盘价的平均值

Example: Example text

MA30
收盘价30日均线
string
string
—近30个周期的收盘价的平均值

Example: Example text

MA60
收盘价60日均线
string
string
—近60个周期的收盘价的平均值

Example: Example text

MA120
收盘价120日均线
string
string
—近120个周期的收盘价的平均值

Example: Example text

MA250
收盘价250日均线
string
string
—近250个周期的收盘价的平均值

Example: Example text

VMA5
成交量5日均量
string
string
—近5个周期的成交量的平均值

Example: Example text

VMA10
成交量10日均量
string
string
—近10个周期的成交量的平均值

Example: Example text

VMA20
成交量20日均量
string
string
—近20个周期的成交量的平均值

Example: Example text

VMA30
成交量30日均量
string
string
—近30个周期的成交量的平均值

Example: Example text

VMA60
成交量60日均量
string
string
—近60个周期的成交量的平均值

Example: Example text

VMA120
成交量120日均量
string
string
—近120个周期的成交量的平均值

Example: Example text

VMA250
成交量250日均量
string
string
—近250个周期的成交量的平均值

Example: Example text

DIFF
指数平滑异同平均DIFF值
string
string
—近12日VEMA数值减去近26VEMA数值

Example: Example text

DEA
指数平滑异同平均DEA值
string
string
—VDIF的9个周期的平均值

Example: Example text

MACD
指数平滑异同平均MACD值
string
string
—成交量的指数平滑异同平均线

Example: Example text

Kvalue
KDJ随机指标K值
string
string
—KDJ随机指标K

Example: Example text

Dvalue
KDJ随机指标D值
string
string
—KDJ随机指标D

Example: Example text

Jvalue
KDJ随机指标J值
string
string
—KDJ随机指标J

Example: Example text

BOLLMid
布林线中轨MID值
string
string
—BOLL布林线LOWER,最小值

Example: Example text

BOLLUpper
布林线上轨UPPER值
string
string
—BOLL布林线UPPER,最大值

Example: Example text

BOLLLower
布林线下轨LOWER值
string
string
—BOLL布林线LOWER,最小值

Example: Example text

RSI
相对强弱指标RSI
string
string
—RSI相对强弱指标

Example: Example text

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.