python计算IRR公式

摘要: 1. Python计算IRR公式 ```python from scipy import optimize # 计算现值 def xnpv(rate, cashflows): return sum([cf / (1 + rate) ** ((t-cashflows[0][0]).days/365.0 阅读全文
posted @ 2023-05-31 11:23 朝朝暮Mu 阅读(440) 评论(0) 推荐(0)