Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 numpy 库使用 irr 函数进行简单的 IRR 计算。因此,例如,如果我想找到现金流的内部收益率,我会执行以下操作
In [16]: import numpy as np cf = np.array([-100,10,10,100]) print np.irr(a) 0.0688601791248
但是,我正在寻找一种永久执行 NPV 的方法。我的现金流是-100, 10....
有没有人这样做过
永续年金的 PV 很简单:
PV=C/i Where C = amount of cash flows i = effective periodic interest rate or rate of return