财务附注-投资收益 (cn_stock_financial_note_investment_income)

数据描述: 该表详细记录了上市公司通过不同投资渠道获得的投资收益,包括长期股权投资(成本法和权益法核算)、交易性金融资产、持有至到期投资、可供出售金融资产的投资收益,以及这些投资的处置收益等。此外,还包括其他类型的投资收益和投资收益的总和。

文档
数据简介

## 一、数据简介 股票财务附注-投资收益数据表是一个非常重要的资源,因为它为投资者提供了关于上市公司投资收益的详细信息。这些数据可以帮助投资者更好地理解公司的投资行为和投资收益,从而为投资决策提供依据。例如,通过分析长期股权投资收益的变化,投资者可以了解到公司在股权投资方面的能力和效果;通过查看处置金融资产的投资收益,投资者可以了解到公司资产管理的效率;通过查看总投资收益,投资者可以评估公司的投资回报率。此外,这些数据还可以用于开发量化投资策略,例如基于投资收益的因子投资策略。 - 数据起始时间:2017-01-14 - 数据结束时间:2026-10-20 - 数据更新频率:不定期,上市公司发布相关公告时更新 ## 二、主键说明 | 关键字 | 释意 | | --- | --- | | date | 该财报的公布日期或变更日期,与 cn_stock_financial_changedate 中的 changedate 对应 | | instrument | 股票代码 | | report_date | 财务报告期,规则见后文“财务报表基础知识” | | change_type | 0 表示首次披露的财务数据,1 表示非首次披露或有更改的财务数据 | ## 三、字段说明 | 字段 | 释意 | | --- | --- | | `long_term_equity_investment_income_by_cost_method` | 成本法核算的长期股权投资收益 | | `long_term_equity_investment_income_by_equity_method` | 权益法核算的长期股权投资收益 | | `invest_income_from_saling_long_term_equity_investment` | 处置长期股权投资产生的投资收益 | | `invest_income_from_helding_financial_assets` | 交易性金融资产在持有期间的投资收益 | | `invest_income_from_helding_held_to_maturity` | 持有至到期投资在持有期间的投资收益 | | `invest_income_from_helding_salesable_assets` | 可供出售金融资产在持有期间的投资收益 | | `invest_income_from_diposing_financial_assets` | 处置交易性金融资产取得的投资收益 | | `invest_income_from_diposing_held_to_maturity` | 处置持有至到期金融资产取得的投资收益 | | `invest_income_from_diposing_salesable_assets` | 处置可供出售金融资产取得的投资收益 | | `invest_income_from_other` | 其他 | | `total_invest_income` | 合计 | ## 四、示例数据 最近 90 天公告的半年报和年报数据,只展示 7 个字段,按日期、股票代码、报告期排序,展示前 5 行和后 5 行。 | date | instrument | report_date | change_type | long_term_equity_investment_income_by_equity_method | invest_income_from_diposing_financial_assets | total_invest_income | | --- | --- | --- | --- | --- | --- | --- | | 2026-07-23 | 002458.SZ | 2025-06-30 | 1 | | | | | 2026-07-23 | 002458.SZ | 2026-06-30 | 0 | | | | | 2026-07-23 | 605228.SH | 2025-06-30 | 1 | | | | | 2026-07-23 | 605228.SH | 2026-06-30 | 0 | | | | | 2026-07-23 | 688005.SH | 2025-06-30 | 1 | | | | | 2026-10-20 | 600735.SH | 2022-06-30 | 1 | | | | | 2026-10-20 | 600735.SH | 2022-12-31 | 1 | | | | | 2026-10-20 | 600735.SH | 2023-06-30 | 1 | | | | | 2026-10-20 | 600735.SH | 2023-12-31 | 1 | | | | | 2026-10-20 | 600735.SH | 2024-06-30 | 1 | | | | ## 【财务附注基础知识】一、财务附注基础 财务报表附注是财务报表制作者对资产负债表、利润表和现金流量表中有关项目所作的说明和解释,帮助报表使用者深入了解基本财务报表的内容。附注的内容非常重要,主要包括非经常性项目、收入明细、费用明细、投资收益等。 多数附注科目只在半年报和年报中披露,一季报、三季报对应的记录大部分附注字段为空,使用时建议按 report_date 的月份筛选出 06-30 和 12-31 的记录。非经常性损益等少数科目在一季报、三季报中也有数据。报告期、公告日和 PIT 规则见后文“财务报表基础知识”。 ## 【财务报表基础知识】一、财务报表与报告期 上市公司披露的财务报表主要包括资产负债表、利润表、现金流量表和所有者权益变动表,它们从不同角度反映企业的财务状况、经营成果和现金流量: - **资产负债表**:反映企业在某一特定日期的资产、负债和所有者权益情况,揭示资产规模及结构、负债规模及结构和所有者权益的构成 - **利润表**:展示企业在一定会计期间的经营成果,分类列示收入、费用和利润,反映盈利能力和经营效率 - **现金流量表**:反映企业在一定会计期间现金和现金等价物的流入和流出,分为经营活动、投资活动和筹资活动三部分 - **所有者权益变动表**:展示构成所有者权益的各组成部分当期的增减变动情况 上市公司一年内披露四次财务报告,披露时限如下: - 一季报:记录当年 1 月至 3 月的财务情况,应在 4 月 30 日前披露 - 半年报:记录当年 1 月至 6 月的财务情况,应在 8 月 31 日前披露 - 三季报:记录当年 1 月至 9 月的财务情况,应在 10 月 31 日前披露 - 年报:记录当年 1 月至 12 月的财务情况,应在次年 4 月 30 日前披露 在 BigQuant 平台上,date 表示财报的公告日或变更日,即该数据可被使用的最早日期;report_date 表示报告期,即这条数据属于哪一期财报: - xxxx-03-31 表示 xxxx 年一季报,比如 2024-03-31 指 2024 年一季报 - xxxx-06-30 表示 xxxx 年半年报,比如 2024-06-30 指 2024 年半年报 - xxxx-09-30 表示 xxxx 年三季报,比如 2024-09-30 指 2024 年三季报 - xxxx-12-31 表示 xxxx 年年报,比如 2024-12-31 指 2024 年年报 ## 【财务报表基础知识】二、PIT (Point in Time) 上市公司除了正常披露财务报表外,后续会时常对历史财务数据进行修正。因此在量化投资领域,加工财务数据时不能只用最新修正后的数据,而要基于历史时间节点获取当时能获取的最新数据。PIT(Point In Time)数据指的是在某个时间点上,某个财务指标的取值。财务数据通常以报告期为单位披露,而 PIT 数据则是在某个时间点上,基于已公布的财务报表获取的数据。 以 002473.SZ 的财务数据为例,在平台上调用以下代码: ```python import dai import pandas as pd pd.set_option('display.float_format', '{:.2f}'.format) dai.query(""" SELECT date, instrument, report_date, change_type, total_current_assets FROM cn_stock_financial_balance_general_pit WHERE instrument='002473.SZ' AND report_date='2019-12-31' AND date>'2020-01-01' """).df() ``` 运行上述代码,能得到以下数据: | date | instrument | report_date | change_type | total_current_assets | | --- | --- | --- | --- | --- | | 2020-04-30 | 002473.SZ | 2019-12-31 | 0 | 223449880.95 | | 2020-08-27 | 002473.SZ | 2019-12-31 | 1 | 228470428.90 | | 2020-10-26 | 002473.SZ | 2019-12-31 | 1 | 228470428.90 | | 2021-04-29 | 002473.SZ | 2019-12-31 | 1 | 228470428.90 | 该公司于 2020 年 4 月 30 日首次公布 2019 年年报,披露的流动资产(total_current_assets)为 223449880.95,又于 2020 年 8 月 27 日对 2019 年年报的流动资产进行修正,修正为 228470428.90,因此 2019 年年报在表中有多条记录。 date 为 2020-08-27、2020-10-26、2021-04-29 的 total_current_assets 取值相同,这些重复记录是必要的:公司每披露某一期财报,都会附带上年同期或上年年末的数据作对比,极少部分公司即使不发布修正公告,也会通过这种方式修改历史财务数据,所以每次披露都保留一条记录。

用例
* 用例1:分析2023年各公司各类投资收益 ``` import dai df = dai.query(""" SELECT date, instrument, report_date, total_invest_income, invest_income_from_helding_financial_assets, invest_income_from_helding_held_to_maturity, invest_income_from_helding_salesable_assets FROM cn_stock_financial_note_investment_income""", filters={"date": ["2023-01-01", "2023-12-31"]} ).df() ``` * 用例2:分析特定公司的长期股权投资收益 ``` import dai df = dai.query(""" SELECT date, instrument, report_date, long_term_equity_investment_income_by_cost_method, long_term_equity_investment_income_by_equity_method FROM cn_stock_financial_note_investment_income WHERE instrument='000001.SZ'""", filters={"date": ["2023-01-01", "2023-12-31"]} ).df() ``` * 用例3:查询某只股票在某个报告期的处置金融资产的投资收益 ``` import dai df = dai.query(""" SELECT date, report_date, invest_income_from_diposing_financial_assets FROM cn_stock_financial_note_investment_income WHERE instrument = '000002.SZ' AND report_date = '2022-12-31'""", full_db_scan=True ).df() ```
表结构
字段 字段类型 字段描述
long_term_equity_investment_income_by_cost_method double 成本法核算的长期股权投资收益
long_term_equity_investment_income_by_equity_method double 权益法核算的长期股权投资收益
invest_income_from_saling_long_term_equity_investment double 处置长期股权投资产生的投资收益
invest_income_from_helding_held_to_maturity double 持有至到期投资在持有期间的投资收益
date timestamp[ns] -
change_type int8 财报类型
instrument string 证券代码
report_date timestamp[ns] 报告期
total_invest_income double 合计
invest_income_from_other double 其他
invest_income_from_helding_financial_assets double 交易性金融资产在持有期间的投资收益
__PARTITION__ int64 -
invest_income_from_helding_salesable_assets double 可供出售金融资产在持有期间的投资收益
invest_income_from_diposing_financial_assets double 处置交易性金融资产取得的投资收益
invest_income_from_diposing_held_to_maturity double 处置持有至到期金融资产取得的投资收益
invest_income_from_diposing_salesable_assets double 处置可供出售金融资产取得的投资收益

表名:cn_stock_financial_note_investment_income

起始时间:

最近更新时间: