月度年度涨跌幅通达信
按年份汇总股票 1 至 12 月涨跌幅和全年涨跌幅,用于查看历史收益日历。
按年份汇总股票 1 至 12 月涨跌幅和全年涨跌幅,用于查看历史收益日历。
输入参数
| 参数 | 类型 | 必填 | 说明 | 默认值 |
|---|---|---|---|---|
code | string | 是 | 股票代码:支持 000001、000001.SZ、sz000001;批量可传列表或英文逗号分隔字符串。 | |
year | string | 否 | 年份,可选;不传返回全部可用年份。 |
参数示例
# 单个标的
client.call("stock_return_calendar_tdx", code="000001.SZ", year="2026")
# 批量请求多个标的
client.call("stock_return_calendar_tdx", code=["000034.SZ", "000001.SZ"], year="2026")返回字段
| 字段 | 类型 | 说明 |
|---|---|---|
instrument_id | string | AxData 统一证券代码,例如 000001.SZ。 |
symbol | string | 交易所原始六位代码。 |
year | string | 年份。 |
month_1_pct | number | 1 月涨跌幅,单位:%。 |
month_2_pct | number | 2 月涨跌幅,单位:%。 |
month_3_pct | number | 3 月涨跌幅,单位:%。 |
month_4_pct | number | 4 月涨跌幅,单位:%。 |
month_5_pct | number | 5 月涨跌幅,单位:%。 |
month_6_pct | number | 6 月涨跌幅,单位:%。 |
month_7_pct | number | 7 月涨跌幅,单位:%。 |
month_8_pct | number | 8 月涨跌幅,单位:%。 |
month_9_pct | number | 9 月涨跌幅,单位:%。 |
month_10_pct | number | 10 月涨跌幅,单位:%。 |
month_11_pct | number | 11 月涨跌幅,单位:%。 |
month_12_pct | number | 12 月涨跌幅,单位:%。 |
year_pct | number | 年度涨跌幅,单位:%。 |
调用示例
Python SDK
import axdata as ax
client = ax.AxDataClient()
rows = client.call(
"stock_return_calendar_tdx",
code='000001.SZ',
year='2026',
)
HTTP API
POST /v1/request/stock_return_calendar_tdx
Content-Type: application/json
{
"params": {
"code": "000001.SZ",
"year": "2026"
}
}
真实样例快照
展示插件接口目录里的固定 example.response,页面打开不会再次请求源端。
请求参数
{
"code": "000001.SZ",
"year": "2026"
}
响应样例
| year | month_1_pct | month_2_pct | month_3_pct | month_4_pct | month_5_pct | month_6_pct | month_7_pct | month_8_pct | month_9_pct | month_10_pct | month_11_pct | month_12_pct | year_pct | instrument_id | symbol |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2026 | -5.0833 | 0.6463 | 1.6514 | 3.7004 | -4.8738 | 3.3852 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | -0.964 | 000001.SZ | 000001 |
生成时间:2026-07-06T16:54:55+00:00