跳到主要内容

公司行动

数据集标识:ref.corporate_actions;证券对象标识示例:000001.SZ

已实施且有除权日的公司行动。一个方案中的多个分配拆成多行,用 event_group_id 关联;数量按「每 old_quantity 单位得 new_quantity 单位」读,现金按每 1 单位读。action_type 的语义与 replaces_holding 的取值固定。

业务主键:event_id、ex_date、available_at,每行取值唯一。

接口​

用途方法与路径
查询数据POST /v1/datasets/ref.corporate_actions/query
契约与当前发布GET /v1/datasets/ref.corporate_actions
准备批量快照POST /v1/datasets/ref.corporate_actions/preparations

请求参数​

可在请求体 where 中作为 field 使用的筛选参数,名称保持契约原名。

参数名类型必填说明
asset_idstring否标的标识,例如 XSHE:000001。
start_datedate否按除权日筛选,查询开始日期,包含该日。
end_datedate否按除权日筛选,查询结束日期,包含该日。

返回字段​

列名保持契约原名,可直接用于 select、where 与结果行。

字段名中文名称类型可空说明
event_id事件标识string否由标的、除权日与事件类型派生的稳定标识。
event_group_id方案标识string否同一方案拆出的各行共用的标识,由标的与除权日派生。
asset_id标的标识string否发生该事件的标的的 asset_id,格式为 <场所码>:<代码>,例如 XSHE:000001。
market市场string否场所所属市场码,由场所登记派生,例如 CN。
security_code展示别名string是场所登记的展示别名,例如 000001.SZ;无展示后缀的场所为空。
action_type事件类型string否事件类型,语义固定,见规格 FR-071。
announcement_date实施公告日date是来源给出的实施公告日期。
record_date股权登记日date是股权登记日。
ex_date除权除息日date否除权除息日。
pay_date派息日date是现金到账日。
effective_date生效日date是换股、合并等事件的生效日;分红送转为空。
old_quantity原持有数量decimal是比例的分母;现金事件为空。
new_quantity所得数量decimal是比例的分子;现金事件为空。
received_asset_id所得标的string是所得单位的 asset_id;现金事件为空。
replaces_holding是否替换持仓boolean否所得是否替换原持仓,由 action_type 决定。
cash_amount每单位现金decimal是每 1 单位的现金金额。
cash_currency现金币种string是现金金额的币种,ISO 4217。
cash_tax_basis现金口径string是gross 税前,net 税后。
subscription_price认购价decimal是配股每单位认购价。
subscription_currency认购币种string是认购价的币种,ISO 4217。
ex_reference_price除权参考价decimal是交易所公布的除权参考价;未取得时为空。
participation_ratio参与分配比例decimal是差异化分派时参与分配的股本占总股本的比例,由公布的除权参考价反解,是估计值;标准分派或未判定时为空。
price_currency价格币种string否除权参考价的币种,ISO 4217。
action_status事件状态string否announced 已公告,approved 已批准,implemented 已实施,cancelled 已取消。
available_at可知时间timestamp否该行信息首次可知的时刻(UTC)。回溯取证的行取取证时刻,不代表事件的公告时刻,公告日期见 announcement_date。更正以新行表达,按查询时点取不晚于它的最新一行。
is_retracted是否撤回boolean否该行是否撤回此前同键的行;撤回行自其可知时间起使该记录在时点视图中消失。
basis_document依据文件string否该行的依据:交易所公告或来源端点。
evidence_sha256依据原件哈希string是依据原件内容的 sha256;尚未取得原件时为空。
verification_status核验状态string否verified 已有官方依据原件,unverified 尚未取得;取自第三方来源的行为 unverified。

字段补充属性​

括号中是契约描述(GET /v1/datasets/{datasetId} 的 fields)里的键名。

字段名属性
action_type枚举(allowedValues):["cash_dividend", "special_dividend", "return_of_capital", "stock_dividend", "capitalization_issue", "split", "reverse_split", "rights_issue", "spin_off", "merger", "scrip_dividend", "fund_distribution"]
old_quantity精度(precision):38;小数位数(scale):10
new_quantity精度(precision):38;小数位数(scale):10
cash_amount精度(precision):38;小数位数(scale):10;单位(unit):currency_field:cash_currency
cash_tax_basis枚举(allowedValues):["gross", "net"]
subscription_price精度(precision):38;小数位数(scale):10;单位(unit):currency_field:subscription_currency
ex_reference_price精度(precision):38;小数位数(scale):10;单位(unit):currency_field:price_currency
participation_ratio精度(precision):38;小数位数(scale):10;单位(unit):ratio
action_status枚举(allowedValues):["announced", "approved", "implemented", "cancelled"]
verification_status枚举(allowedValues):["verified", "unverified"]

请求示例​

向 https://api.<环境域名>/v1/datasets/ref.corporate_actions/query 发送 POST 请求(服务地址的替换方式见快速开始),请求头为 Authorization: Bearer <API_KEY> 与 Content-Type: application/json,请求体如下:

{
"select": [
"asset_id",
"ex_date",
"action_type",
"old_quantity",
"new_quantity",
"cash_amount",
"cash_currency"
],
"where": [
{
"field": "ex_date",
"op": "gte",
"value": "2025-01-01"
},
{
"field": "ex_date",
"op": "lte",
"value": "2026-10-29"
}
],
"page": {
"limit": 1000,
"cursor": null
}
}

响应示例​

实际结果随数据更新而变化;data 为空数组表示请求范围内没有可返回的记录。

{
"datasetId": "ref.corporate_actions",
"fields": [
"asset_id",
"ex_date",
"action_type",
"old_quantity",
"new_quantity",
"cash_amount",
"cash_currency"
],
"data": [],
"page": {
"nextCursor": null,
"complete": true
}
}