コード例 #1
0
 def compute(self, today, assets, out, bv, ev, rateint, rateinf):
     l = self.window_length
     bv_yield_ev = bv[-l] / ev[-l]
     out[:] = adjust_for_inflation(bv_yield_ev, l, rateint, rateinf)
コード例 #2
0
 def compute(self, today, assets, out, sales, ev, rateint, rateinf):
     l = self.window_length
     cf_yield_ev = sales[-l] / ev[-l]
     out[:] = adjust_for_inflation(cf_yield_ev, l, rateint, rateinf)
コード例 #3
0
 def compute(self, today, assets, out, earning, ev, rateint, rateinf):
     l = self.window_length
     earning_yield_ev = earning[-l] / ev[-l]
     out[:] = adjust_for_inflation(earning_yield_ev, l, rateint, rateinf)