def remain_necessary_for_retirement(self):
assets_required = -self.assets_required()
rate_target_profitability = self.financial_planning. \
real_gain_related_cdi()
years_for_retirement = self.financial_planning.duration()
current_net_investment = self.financial_planning.patrimony.\
current_net_investment()
total = numpy.pmt(rate_target_profitability, years_for_retirement,
current_net_investment, assets_required)
total /= 12
if total < 0:
total = 0
return total
# Will be considerate only goals that represent properties and equity
# interests
评论列表
文章目录