def ROE_G_q(self): # 单季度.ROE同比增长率 roe = self.roe sig_season_roe = get_signal_season_value(roe) roe_g = CALFUNC.generate_yoygr(sig_season_roe) roe_g = adjust_months(roe_g) roe_g = append_df(roe_g) roe_g_q = CALFUNC.del_dat_early_than(roe_g, START_YEAR) return roe_g_q
def Sales_G_q(self): # qfa_yoysales:单季度.营业收入同比增长率 operatingrevenue = self.operatingrevenue sig_season_operatingrevenue = get_signal_season_value(operatingrevenue) sales_g = CALFUNC.generate_yoygr(sig_season_operatingrevenue) sales_g = adjust_months(sales_g) sales_g = append_df(sales_g) sales_g = CALFUNC.del_dat_early_than(sales_g, START_YEAR) return sales_g
def Profit_G_q(self): # qfa_yoyprofit:单季度.净利润同比增长率 netprofit = self.netprofitcut # 扣除非经常损益后的净利润 sig_season_netprofit = get_signal_season_value(netprofit) p_g = CALFUNC.generate_yoygr(sig_season_netprofit) p_g = adjust_months(p_g) p_g = append_df(p_g) profit_g_q = CALFUNC.del_dat_early_than(p_g, START_YEAR) return profit_g_q