Menu
China equities
Stock Risk Analysis
StockRiskAnalysisThis 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.
POST /v1/data/operations/StockRiskAnalysis · JSON
Input parameters
| Field | Type | Constraint | Description and example |
|---|---|---|---|
stockObjectA股 | string_arraystring_array | Required Dictionary selection: STOCK_A_COMPANY | 证券市场主板,创业板,科创板通用的交易代码、证券简称、公司全名、曾用名、英文名 Example: |
beginDate开始日期 | stringstring | Optional | 查询开始日期,输入格式“YYYY-MM-DD” Example: |
endDate截止日期 | stringstring | Optional | 查询截止日期,输入格式“YYYY-MM-DD”(截止日期≥开始日期,当截止日期=开始日期时,交易区间为单日) Example: |
pageNo页面编号 | stringstring | Optional | 定位分页查询的目标页码,默认不限 Example: |
pageSize页内记录数 | stringstring | Optional | 单页返回的最大记录条数,默认不限 Example: |
Response fields
| Field | Type | Constraint | Description and example |
|---|---|---|---|
stockobject股票内码 | stringstring | — | 聚源用于确定证券唯一性的内码,包括证券市场主板,创业板,科创板的证券内码 Example: |
stockname股票名称 | stringstring | — | 证券市场主板,创业板,科创板通用的证券简称 Example: |
stockcode股票代码 | stringstring | — | 证券市场主板,创业板,科创板通用的证券代码 Example: |
tradingday交易日期 | stringstring | — | 区间内交易日期,格式“YYYY-MM-DD” Example: |
betalargecapindexBeta值(相对沪深300,一年) | stringstring | — | Beta值(相对沪深300,一年):股票相对沪深300的Beta值,时间跨度为1年 Example: |
betacompositeindexBeta值(相对综合指数,一年) | stringstring | — | Beta值(相对综合指数,一年):股票相对综合指数(股票在上海交易所上市,则取沪综指;在深圳交易所上市,则取深综指)的Beta值,时间跨度为1年 Example: |
betasywgindustryindexBeta值(相对申万行业,一年) | stringstring | — | Beta值(相对申万行业,一年):股票相对申万行业的Beta值,时间跨度为1年 Example: |
betamidcapindexBeta值(相对中证500,一年) | stringstring | — | Beta值(相对中证500,一年):股票相对中证500的Beta值,时间跨度为1年 Example: |
betaweeklyBeta值(两年,周步长) | stringstring | — | Beta值(两年,周步长):Beta=[n∑RXiRi-(∑RXi)*(∑Ri)]/[n∑(RXi^2)-(∑RXi)^2]Ri为步长区间股票增长率Rxi为步长区间基准增长率 Example: |
adjustbetaweekly调整Beta值(两年,周步长) | stringstring | — | 调整Beta值(两年,周步长):BETA值(两年,周步长)*0.67+0.33 Example: |
alphalargecapindex阿尔法(相对沪深300,一年) | stringstring | — | 阿尔法(相对沪深300,一年):股票相对沪深300的阿尔法,时间跨度为1年 Example: |
alphacompositeindex阿尔法(相对综合指数,一年) | stringstring | — | 阿尔法(相对综合指数,一年):股票相对综合指数(股票在上海交易所上市,则取沪综指;在深圳交易所上市,则取深综指)的阿尔法,时间跨度为1年 Example: |
alphasywgindustryindex阿尔法(相对申万行业,一年) | stringstring | — | 阿尔法(相对申万行业,一年):股票相对申万行业的阿尔法,时间跨度为1年 Example: |
alphamidcapindex阿尔法(相对中证500,一年) | stringstring | — | 阿尔法(相对中证500,一年):股票相对中证500的阿尔法,时间跨度为1年 Example: |
yearvolatilitybyday波动率(日步长) | stringstring | — | 波动率(日步长):计算中为日步长数据,时间跨度为1年 Example: |
yearvolatilitybyweek波动率(周步长) | stringstring | — | 波动率(周步长):计算中为周步长数据,时间跨度为1年 Example: |
yearsharperatio夏普比率(年化) | stringstring | — | 夏普比率(年化):股票年化夏普比率 Example: |
marketindexrorarithavg市场收益率(算术平均) | stringstring | — | 市场收益率(算术平均):Rm=(Rm1+Rm2)/2Rm1为上证综指年收益率(算术平均)Rm2为深证综指年收益率(算术平均)指数年平均收益率Rxi=(∑(Ri)/10)*100% Example: |
marketindexrorgeommean市场收益率(几何平均) | stringstring | — | 市场收益率(几何平均):Rm=(Rm1+Rm2)/2Rm1为上证综指年收益率(几何平均)Rm2为深证综指年收益率(几何平均) Example: |
Request example
Example instruments, required parameters and applicable page limits are prefilled. Open the side drawer for field notes and a live response.
{
"parameters": {
"stockObject": [
"1679"
],
"pageNo": "1",
"pageSize": "5"
}
}- stockObject: 贵州茅台 · 600519.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
Follow the parameter notes for minute intervals, price adjustment and time units. A missing field does not mean a zero value.