利润表PIT(一般企业) (cn_stock_financial_income_general_pit)

数据描述: 该表存储了一般企业利润表相关的PIT财务数据;对于PIT的解释,详见文档。

文档
数据简介

**请注意:该表不是日频数据,不能直接作为因子使用。该数据适合对财务数据有深入研究的用户,请详细阅读后续文档。** 若想获取日频财务因子,请使用 cn_stock_factors_financial_items 和 cn_stock_factors_financial_indicators 数据表: - cn_stock_factors_financial_items:<https://bigquant.com/data/datasources/cn_stock_factors_financial_items> - cn_stock_factors_financial_indicators:<https://bigquant.com/data/datasources/cn_stock_factors_financial_indicators> ## 一、数据简介 利润表是反映企业在一定会计期间的经营成果的财务报表,主要显示了企业的收入、支出和利润等信息。利润表可以帮助分析企业的盈利能力、成本控制、费用结构等方面。利润表的基本公式是:收入-支出=利润。本表的表结构采用常用的“多步式”的方法呈现利润表的财务科目,即通过对当期的收入、支出项目按性质加以归类,按利润形成的主要环节列示一些中间性利润指标,分步计算当期利润的方式。 - 数据起始时间:2005-04-06 - 数据结束时间:2026-10-20 - 数据更新频率:不定期,上市公司发布相关公告时更新 ## 二、主键说明 | 关键字 | 释意 | | --- | --- | | date | 该财报的公布日期或变更日期,与 cn_stock_financial_changedate 中的 changedate 对应 | | instrument | 股票代码 | | report_date | 财务报告期,规则见后文“财务报表基础知识” | | change_type | 0 表示首次披露的财务数据,1 表示非首次披露或有更改的财务数据 | | fs_quarter_index | 对应季度,1 指一季报,2 指半年报,3 指三季报,4 指年报 | ## 三、常见问题 Q:为什么财务数据并没有更改,但会有一条 change_type=1 的数据? A:一般来说,每次出财报(一季报、半年报、三季报、下一年年报等)时,除了公布本期数值,也会附有期初数或上年同期数值,因此统一把前期数值视作 change_type=1 的数据。 Q:为什么银行股的某些字段没有体现在上述表中? A:目前本表只收录了一般企业的相关财务字段,针对金融类企业的特殊字段后续会逐渐加入。 Q:表中有母公司利润表的数据吗? A:目前只收录了合并报表的数据。 ## 四、举例说明 下面读取华润微(688396.SH)从 2020-01-01 到 2021-05-30 公告的利润表数据,只看 net_profit 一个字段: | date | instrument | report_date | change_type | fs_quarter_index | net_profit | | --- | --- | --- | --- | --- | --- | | 2020-01-31 | 688396.SH | 2016-12-31 | 1 | 4 | -302249732.88 | | 2020-01-31 | 688396.SH | 2017-12-31 | 1 | 4 | -102688060.0 | | 2020-01-31 | 688396.SH | 2018-09-30 | 1 | 3 | 541831000.0 | | 2020-01-31 | 688396.SH | 2018-12-31 | 1 | 4 | 537562074.28 | | 2020-01-31 | 688396.SH | 2019-06-30 | 1 | 2 | 212885369.68 | | 2020-01-31 | 688396.SH | 2019-09-30 | 1 | 3 | 354609489.45 | | 2020-04-23 | 688396.SH | 2018-12-31 | 1 | 4 | 537562074.28 | | 2020-04-23 | 688396.SH | 2019-03-31 | 0 | 1 | 36184852.26 | | 2020-04-23 | 688396.SH | 2019-12-31 | 0 | 4 | 512426548.38 | | 2020-04-23 | 688396.SH | 2020-03-31 | 0 | 1 | 125609986.33 | | 2020-04-24 | 688396.SH | 2019-03-31 | 1 | 1 | 36184852.26 | | 2020-04-24 | 688396.SH | 2020-03-31 | 1 | 1 | 125609986.33 | | 2020-07-29 | 688396.SH | 2019-06-30 | 1 | 2 | 212885369.68 | | 2020-07-29 | 688396.SH | 2020-06-30 | 0 | 2 | 446735348.17 | | 2020-10-20 | 688396.SH | 2019-09-30 | 1 | 3 | 354609489.45 | | 2020-10-20 | 688396.SH | 2020-09-30 | 0 | 3 | 757549644.05 | | 2021-04-30 | 688396.SH | 2019-12-31 | 1 | 4 | 512426548.38 | | 2021-04-30 | 688396.SH | 2020-03-31 | 1 | 1 | | | 2021-04-30 | 688396.SH | 2020-12-31 | 0 | 4 | 1059708487.82 | | 2021-04-30 | 688396.SH | 2021-03-31 | 0 | 1 | 407247392.27 | 从上表可以看出: - date 取自 cn_stock_financial_changedate 中的 changedate,changedate 里有多少个日期,这张表就会有多少条对应记录。比如 2020 年一季报(report_date=2020-03-31):2020-04-23 是首次披露的公告日,change_type=0;2020-04-24 是更正公告日,change_type=1;2021-04-30 是发布 2021 年一季报时附带的上年同期数据,change_type=1,利润表和现金流量表共有三条记录,资产负债表只有前两条。 - 2021-04-30 这一天,利润表和现金流量表有四个不同的 report_date:2020-12-31 和 2021-03-31 是首次披露(change_type=0),2019-12-31 和 2020-03-31 是随报告附带的前期数据(change_type=1)。 - 资产负债表在 2021-04-30 只有三个 report_date:2020-12-31 和 2021-03-31 是首次披露,2019-12-31 是附带的前期数据,没有 report_date=2020-03-31 的记录。 - date=2020-01-31 的记录 change_type 都是 1,report_date 覆盖 2016 至 2019 年的多个历史期。 - 2021-04-30 附带的 2020 年一季报(report_date=2020-03-31)这条记录,net_profit 为空。 ## 五、字段说明 | 字段 | 释意 | | --- | --- | | `total_operating_revenue` | 营业总收入 | | `operating_revenue` | 营业收入 | | `interest_income` | 利息收入 | | `insurance_premium_income` | 已赚保费 | | `fee_and_commission_income` | 手续费及佣金收入 | | `spec_diff_of_operating_revenue` | 营业总收入差额(特殊报表科目) | | `totbal_diff_of_operating_revenue` | 营业总收入差额(合计平衡科目) | | `total_operating_costs` | 营业总成本 | | `operating_costs` | 营业成本 | | `interest_costs` | 利息支出 | | `fee_and_commission_costs` | 手续费及佣金支出 | | `surrenders` | 退保金 | | `net_insurance_claims_paid` | 赔付支出净额 | | `net_amount_of_insurance_reserve` | 提取保险合同准备金净额 | | `expense_on_policy_dividends` | 保单红利支出 | | `reinsurance_premium_expense` | 分保费用 | | `taxes_and_levies` | 税金及附加 | | `selling_epense` | 销售费用 | | `administrative_expense` | 管理费用 | | `research_and_development_expense` | 研发费用 | | `finance_expense` | 财务费用 | | `fin_interest_expense` | 财务费用:利息费用 | | `fin_interest_income` | 财务费用:利息收入 | | `asset_impairment_loss` | 资产减值损失 | | `credit_impairment_loss` | 信用减值损失 | | `spec_diff_of_operating_costs` | 营业总成本差额(特殊报表科目) | | `totbal_diff_of_operating_costs` | 营业总成本差额(合计平衡科目) | | `fair_value_chg_gain` | 公允价值变动收益 | | `invest_income` | 投资收益 | | `invest_income_of_jv_and_associates` | 对联营企业和合营企业的投资收益 | | `income_derecognition_of_fin_assets_at_amortized_cost` | 以摊余成本计量的金融资产终止确认收益 | | `net_income_of_open_hedge` | 净敞口套期收益 | | `exchange_gain` | 汇兑收益 | | `asset_disposal_income` | 资产处置收益 | | `other_income` | 其他收益 | | `spec_diff_of_operating_profit` | 营业利润差额(特殊报表科目) | | `totbal_diff_of_operating_profit` | 营业利润差额(合计平衡科目) | | `operating_profit` | 营业利润 | | `nonoperating_income` | 营业外收入 | | `noncurr_assets_dispose_gain` | 非流动资产处置利得 | | `nonoperating_costs` | 营业外支出 | | `noncurr_assets_dispose_loss` | 非流动资产处置损失 | | `spec_diff_of_total_profit` | 利润总额差额(特殊报表科目) | | `totbal_diff_of_total_profit` | 利润总额差额(合计平衡科目) | | `total_profit` | 利润总额 | | `income_tax_expense` | 所得税费用 | | `spec_diff_of_net_profit` | 净利润差(特殊报表科目) | | `totbal_diff_of_net_profit` | 净利润差额(合计平衡科目) | | `net_profit` | 净利润 | | `continuing_operation_net_profit` | (一)持续经营净利润 | | `discontinued_operation_net_profit` | (二)终止经营净利润 | | `net_profit_to_parent_shareholders` | 归属于母公司所有者的净利润 | | `net_profit_to_minority` | 少数股东损益 | | `eps_basic` | 基本每股收益 | | `eps_diluted` | 稀释每股收益 | | `income_othcom_income` | 其他综合收益 | | `othcom_income_to_parent_shareholders` | 归属母公司所有者的其他综合收益 | | `othcom_income_cannt_reclass` | 以后不能重分类进损益的其他综合收益 | | `chg_by_remeasurements` | 重新计量设定受益计划净负债或净资产的变动 | | `othcom_income_cannt_reclass_under_equity_method` | 权益法下在被投资单位不能重分类进损益的其他综合收益中享有的份额 | | `other_cannt_reclass` | 其他以后不能重分类进损益 | | `other_equity_instruments_fair_value_chg` | 其他权益工具投资公允价值变动 | | `own_credit_risk_fair_value_chg` | 企业自身信用风险公允价值变动 | | `othcom_income_reclass` | 以后将重分类进损益的其他综合收益 | | `othcom_income_reclass_under_equity_method` | 权益法下在被投资单位以后将重分类进损益的其他综合收益中享有的份额 | | `available_for_sale_fin_assets_fair_value_chg` | 可供出售金融资产公允价值变动损益 | | `gains_or_losses_from_htm_to_afs` | 持有至到期投资重分类为可供出售金融资产损益 | | `effective_of_gains_or_losses_on_cashflow_hedge` | 现金流量套期损益的有效部分 | | `income_translation_diff_of_foreign_currency` | 外币财务报表折算差额 | | `other_reclass` | 其他以后将重分类进损益 | | `other_debt_investments_fair_value_chg` | 其他债权投资公允价值变动 | | `othcom_income_from_reclass_of_fin_assets` | 金融资产重分类计入其他综合收益的金额 | | `credit_impairment_of_other_debt_investments` | 其他债权投资信用减值准备 | | `cashflow_hedge_reserve` | 现金流量套期储备 | | `othcom_income_to_minority` | 归属于少数股东的其他综合收益 | | `total_comprehensive_income` | 综合收益总额 | | `total_comprehensive_income_to_parent_shareholders` | 归属于母公司股东的综合收益总额 | ## 六、示例数据 最近 7 天的数据,字段较多,只展示 6 个字段,按日期、股票代码、报告期排序,展示前 5 行和后 5 行。 | date | instrument | report_date | change_type | fs_quarter_index | net_profit | | --- | --- | --- | --- | --- | --- | | 2026-10-14 | 000655.SZ | 2025-09-30 | 1 | 3 | 225320726.83 | | 2026-10-14 | 000655.SZ | 2026-09-30 | 0 | 3 | 171606448.56 | | 2026-10-14 | 600674.SH | 2025-09-30 | 1 | 3 | 4292071193.24 | | 2026-10-14 | 600674.SH | 2026-09-30 | 0 | 3 | 4449062715.67 | | 2026-10-14 | 688676.SH | 2025-09-30 | 1 | 3 | 482498759.78 | | 2026-10-20 | 688721.SH | 2026-09-30 | 0 | 3 | 18805689.39 | | 2026-10-20 | 688783.SH | 2025-09-30 | 1 | 3 | -557821123.67 | | 2026-10-20 | 688783.SH | 2026-09-30 | 0 | 3 | 151406686.58 | | 2026-10-20 | 920193.BJ | 2026-09-30 | 0 | 3 | 90460371.85 | | 2026-10-20 | 920262.BJ | 2026-09-30 | 0 | 3 | 43161638.31 | ## 【财务报表基础知识】一、财务报表与报告期 上市公司披露的财务报表主要包括资产负债表、利润表、现金流量表和所有者权益变动表,它们从不同角度反映企业的财务状况、经营成果和现金流量: - **资产负债表**:反映企业在某一特定日期的资产、负债和所有者权益情况,揭示资产规模及结构、负债规模及结构和所有者权益的构成 - **利润表**:展示企业在一定会计期间的经营成果,分类列示收入、费用和利润,反映盈利能力和经营效率 - **现金流量表**:反映企业在一定会计期间现金和现金等价物的流入和流出,分为经营活动、投资活动和筹资活动三部分 - **所有者权益变动表**:展示构成所有者权益的各组成部分当期的增减变动情况 上市公司一年内披露四次财务报告,披露时限如下: - 一季报:记录当年 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:对比不同公司同期财务情况 ``` import dai df = dai.query(""" SELECT instrument, report_date, total_profit, net_profit FROM cn_stock_financial_income_general_pit WHERE instrument IN ('000001.SZ', '000002.SZ') AND report_date = '2023-03-31'""", filters={"date": ["2023-01-01", "2023-12-31"]} ).df() ``` * 用例2:查询特定证券代码的最新利润表信息 ``` import dai df = dai.query(""" SELECT date, instrument, report_date, total_profit, net_profit FROM cn_stock_financial_income_general_pit WHERE instrument = '000001.SZ' ORDER BY date DESC LIMIT 1""", filters={"date": ["2020-01-01","2024-05-01"]} ).df() ``` * 用例3:联合其他数据表构建新的数据,比如联合资产负债表构建roe指标 ``` import dai df = dai.query(""" SELECT date,instrument,report_date, cn_stock_financial_balance_general_pit.total_owner_equity, net_profit, net_profit / cn_stock_financial_balance_general_pit.total_owner_equity AS roe FROM cn_stock_financial_income_general_pit JOIN cn_stock_financial_balance_general_pit USING (instrument, date, report_date, change_type) ORDER BY date""", filters={"date": ["2020-01-01", "2023-12-31"]} ).df() ```
表结构
字段 字段类型 字段描述
total_profit DOUBLE 利润总额
exchange_gain DOUBLE 汇兑收益
invest_income DOUBLE 投资收益
other_reclass DOUBLE 其他以后将重分类进损益
interest_costs DOUBLE 利息支出
selling_epense DOUBLE 销售费用
finance_expense DOUBLE 财务费用
interest_income DOUBLE 利息收入
operating_costs DOUBLE 营业成本
fs_quarter_index TINYINT 对应季度
operating_profit DOUBLE 营业利润
taxes_and_levies DOUBLE 税金及附加
operating_revenue DOUBLE 营业收入
income_tax_expense DOUBLE 所得税费用
nonoperating_costs DOUBLE 营业外支出
fair_value_chg_gain DOUBLE 公允价值变动收益
fin_interest_income DOUBLE 财务费用:利息收入
nonoperating_income DOUBLE 营业外收入
other_cannt_reclass DOUBLE 其他以后不能重分类进损益
fin_interest_expense DOUBLE 财务费用:利息费用
income_othcom_income DOUBLE 其他综合收益
asset_disposal_income DOUBLE 资产处置收益
asset_impairment_loss DOUBLE 资产减值损失
chg_by_remeasurements DOUBLE 重新计量设定受益计划净负债或净资产的变动
othcom_income_reclass DOUBLE 以后将重分类进损益的其他综合收益
total_operating_costs DOUBLE 营业总成本
administrative_expense DOUBLE 管理费用
cashflow_hedge_reserve DOUBLE 现金流量套期储备
credit_impairment_loss DOUBLE 信用减值损失
net_profit_to_minority DOUBLE 少数股东损益
spec_diff_of_net_profit DOUBLE 净利润差(特殊报表科目)
total_operating_revenue DOUBLE 营业总收入
fee_and_commission_costs DOUBLE 手续费及佣金支出
insurance_premium_income DOUBLE 已赚保费
net_income_of_open_hedge DOUBLE 净敞口套期收益
fee_and_commission_income DOUBLE 手续费及佣金收入
net_insurance_claims_paid DOUBLE 赔付支出净额
othcom_income_to_minority DOUBLE 归属于少数股东的其他综合收益
spec_diff_of_total_profit DOUBLE 利润总额差额(特殊报表科目)
totbal_diff_of_net_profit DOUBLE 净利润差额(合计平衡科目)
total_comprehensive_income DOUBLE 综合收益总额
expense_on_policy_dividends DOUBLE 保单红利支出
noncurr_assets_dispose_gain DOUBLE 非流动资产处置利得
noncurr_assets_dispose_loss DOUBLE 非流动资产处置损失
othcom_income_cannt_reclass DOUBLE 以后不能重分类进损益的其他综合收益
reinsurance_premium_expense DOUBLE 分保费用
totbal_diff_of_total_profit DOUBLE 利润总额差额(合计平衡科目)
spec_diff_of_operating_costs DOUBLE 营业总成本差额(特殊报表科目)
spec_diff_of_operating_profit DOUBLE 营业利润差额(特殊报表科目)
own_credit_risk_fair_value_chg DOUBLE 企业自身信用风险公允价值变动
spec_diff_of_operating_revenue DOUBLE 营业总收入差额(特殊报表科目)
totbal_diff_of_operating_costs DOUBLE 营业总成本差额(合计平衡科目)
continuing_operation_net_profit DOUBLE (一)持续经营净利润
gains_or_losses_from_htm_to_afs DOUBLE 持有至到期投资重分类为可供出售金融资产损益
net_amount_of_insurance_reserve DOUBLE 提取保险合同准备金净额
totbal_diff_of_operating_profit DOUBLE 营业利润差额(合计平衡科目)
research_and_development_expense DOUBLE 研发费用
totbal_diff_of_operating_revenue DOUBLE 营业总收入差额(合计平衡科目)
discontinued_operation_net_profit DOUBLE (二)终止经营净利润
net_profit_to_parent_shareholders DOUBLE 归属于母公司所有者的净利润
invest_income_of_jv_and_associates DOUBLE 对联营企业和合营企业的投资收益
othcom_income_to_parent_shareholders DOUBLE 归属母公司所有者的其他综合收益
other_debt_investments_fair_value_chg DOUBLE 其他债权投资公允价值变动
other_equity_instruments_fair_value_chg DOUBLE 其他权益工具投资公允价值变动
instrument VARCHAR 证券代码
othcom_income_reclass_under_equity_method DOUBLE 权益法下在被投资单位以后将重分类进损益的其他综合收益中享有的份额
credit_impairment_of_other_debt_investments DOUBLE 其他债权投资信用减值准备
income_translation_diff_of_foreign_currency DOUBLE 外币财务报表折算差额
available_for_sale_fin_assets_fair_value_chg DOUBLE 可供出售金融资产公允价值变动损益
effective_of_gains_or_losses_on_cashflow_hedge DOUBLE 现金流量套期损益的有效部分
othcom_income_cannt_reclass_under_equity_method DOUBLE 权益法下在被投资单位不能重分类进损益的其他综合收益中享有的份额
total_comprehensive_income_to_parent_shareholders DOUBLE 归属于母公司股东的综合收益总额
income_derecognition_of_fin_assets_at_amortized_cost DOUBLE 以摊余成本计量的金融资产终止确认收益
date TIMESTAMP_NS 公告日
eps_basic DOUBLE 基本每股收益
net_profit DOUBLE 净利润
surrenders DOUBLE 退保金
change_type TINYINT 调整类型 0: 调整过, 1: 未调整
othcom_income_from_reclass_of_fin_assets DOUBLE 金融资产重分类计入其他综合收益的金额
eps_diluted DOUBLE 稀释每股收益
report_date TIMESTAMP_NS 报告期
other_income DOUBLE 其他收益

表名:cn_stock_financial_income_general_pit

起始时间:

最近更新时间: