IncomeStatement

class zvt.domain.fundamental.finance.IncomeStatement(**kwargs)

Bases: sqlalchemy.orm.decl_api.Base, zvt.contract.schema.Mixin

__init__(**kwargs)

A simple constructor that allows initialization from kwargs.

Sets attributes on the constructed instance using the names and values in kwargs.

Only keys that are present as attributes of the instance’s class are allowed. These could be, for example, any mapped columns or relationships.

operating_income

营业收入

total_operating_costs

营业总成本

operating_costs

营业成本

rd_costs

研发费用

net_change_in_insurance_contract_reserves

提取保险合同准备金净额

business_taxes_and_surcharges

营业税金及附加

sales_costs

销售费用

managing_costs

管理费用

financing_costs

财务费用

assets_devaluation

资产减值损失

investment_income

加: 投资收益

其中: 对联营企业和合营企业的投资收益

operating_profit

营业利润

non_operating_income

加: 营业外收入

non_operating_costs

减: 营业外支出

loss_on_disposal_non_current_asset

其中: 非流动资产处置净损失

total_profits

利润总额

tax_expense

减: 所得税费用

net_profit

净利润

net_profit_as_parent

其中: 归属于母公司股东的净利润

net_profit_as_minority_interest

少数股东损益

deducted_net_profit

扣除非经常性损益后的净利润

eps

每股收益 基本每股收益

diluted_eps

稀释每股收益

other_comprehensive_income

其他综合收益

other_comprehensive_income_as_parent

归属于母公司股东的其他综合收益

other_comprehensive_income_as_minority_interest

归属于少数股东的其他综合收益

total_comprehensive_income

综合收益总额

total_comprehensive_income_as_parent

归属于母公司所有者的综合收益总额

total_comprehensive_income_as_minority_interest

归属于少数股东的综合收益总额

fi_net_interest_income

银行相关 利息净收入

fi_interest_income

其中:利息收入

fi_interest_expenses

利息支出

fi_net_incomes_from_fees_and_commissions

手续费及佣金净收入

fi_incomes_from_fees_and_commissions

其中:手续费及佣金收入

fi_expenses_for_fees_and_commissions

手续费及佣金支出

fi_income_from_fair_value_change

公允价值变动收益

fi_income_from_exchange

汇兑收益

fi_other_income

其他业务收入

fi_operate_and_manage_expenses

业务及管理费

fi_net_income_from_premium

保险相关 已赚保费

fi_income_from_premium

其中:保险业务收入

fi_income_from_reinsurance_premium

分保费收入

fi_reinsurance_premium

减:分出保费

fi_undue_duty_reserve

提取未到期责任准备金

fi_net_income_from_bank_interest

银行业务利息净收入

fi_income_from_bank_interest

其中:银行业务利息收入

fi_expenses_for_bank_interest

银行业务利息支出

fi_net_incomes_from_fees_and_commissions_of_non_insurance

非保险业务手续费及佣金净收入

fi_incomes_from_fees_and_commissions_of_non_insurance

非保险业务手续费及佣金收入

fi_expenses_for_fees_and_commissions_of_non_insurance

非保险业务手续费及佣金支出

fi_insurance_surrender_costs

退保金

fi_insurance_claims_expenses

赔付支出

fi_amortized_insurance_claims_expenses

减:摊回赔付支出

fi_insurance_duty_reserve

提取保险责任准备金

fi_amortized_insurance_duty_reserve

减:摊回保险责任准备金

fi_dividend_expenses_to_insured

保单红利支出

fi_reinsurance_expenses

分保费用

fi_amortized_reinsurance_expenses

减:摊回分保费用

fi_other_op_expenses

其他业务成本

fi_net_incomes_from_trading_agent

其中:代理买卖证券业务净收入

fi_net_incomes_from_underwriting

证券承销业务净收入

fi_net_incomes_from_customer_asset_management

受托客户资产管理业务净收入

fi_fees_from_other

手续费及佣金净收入其他项目

fi_income_from_fair_value_change_of_fi_salable

其中:可供出售金融资产公允价值变动损益

entity_id

entity id

classmethod get_providers() List[str]

providers of the schema defined by cls

Returns

providers

classmethod get_storages(provider: Optional[str] = None)

get the storages info

Parameters

provider – provider

Returns

storages

id

id

classmethod query_data(provider_index: int = 0, ids: Optional[List[str]] = None, entity_ids: Optional[List[str]] = None, entity_id: Optional[str] = None, codes: Optional[List[str]] = None, code: Optional[str] = None, level: Optional[Union[zvt.contract.IntervalLevel, str]] = None, provider: Optional[str] = None, columns: Optional[List] = None, col_label: Optional[dict] = None, return_type: str = 'df', start_timestamp: Optional[Union[str, pandas._libs.tslibs.timestamps.Timestamp]] = None, end_timestamp: Optional[Union[str, pandas._libs.tslibs.timestamps.Timestamp]] = None, filters: Optional[List] = None, session: Optional[sqlalchemy.orm.session.Session] = None, order=None, limit: Optional[int] = None, index: Optional[Union[str, list]] = None, drop_index_col=False, time_field: str = 'timestamp')

query data by the arguments

Parameters
  • provider_index

  • data_schema

  • ids

  • entity_ids

  • entity_id

  • codes

  • code

  • level

  • provider

  • columns

  • col_label – dict with key(column), value(label)

  • return_type – df, domain or dict. default is df

  • start_timestamp

  • end_timestamp

  • filters

  • session

  • order

  • limit

  • index – index field name, str for single index, str list for multiple index

  • drop_index_col – whether drop the col if it’s in index, default False

  • time_field

Returns

results basing on return_type.

classmethod record_data(provider_index: int = 0, provider: Optional[str] = None, force_update=None, sleeping_time=None, exchanges=None, entity_id=None, entity_ids=None, code=None, codes=None, real_time=None, fix_duplicate_way=None, start_timestamp=None, end_timestamp=None, one_day_trading_minutes=None, **kwargs)

record data by the arguments

Parameters
  • provider_index

  • provider

  • force_update

  • sleeping_time

  • exchanges

  • entity_ids

  • code

  • codes

  • real_time

  • fix_duplicate_way

  • start_timestamp

  • end_timestamp

  • one_day_trading_minutes

  • kwargs

Returns

classmethod register_provider(provider)

register the provider to the schema defined by cls

Parameters

provider

classmethod register_recorder_cls(provider, recorder_cls)

register the recorder for the schema

Parameters
  • provider

  • recorder_cls

timestamp

the meaning could be different for different case,most time it means ‘happen time’