未提供项目说明

actuarialCalculations的Python项目详细描述


该软件包包括精算计算的财务数学计算,如年金计算、摊销计划、偿债基金计算以及用这些公式构建表格。在

安装

  • pip安装精算计算

年金计算

计算现值: 假设我们的用户想知道以下提供的kwargs的预付款金额

逻辑: 期限、期限和利率。价格-(现值*还款金额)=首付款

计算未来价值: 假设我们的用户在给定的期限结束时支付,那么我们的程序应该以固定利率累计价值

逻辑: 累计首付(1+i)**N=累计价格(1+i)*N-(累计值还款金额)

按给定时间价值计算首付款: 假设我们的用户希望在给定的时间段内计算首付款

逻辑: *累计金额*还款金额*(累计金额)*

使用

。。代码::python

'''
Present Value method takes 5 parameters as intergers and returns downpayment amount
'''
presentValue = PresentValue(
    InterestRate, effectiveInterestTerms, fixedPeriod, repayAmount, price)

'''
Accumulated Value method takes 5 parameters as intergers and returns downpayment amount (future value)
'''
accumulatedValue = AccumulatedValue(
    InterestRate, effectiveInterestTerms, fixedPeriod, repayAmount, price)

'''
Calculate Given Time method takes 5 parameters as intergers and returns downpayment amount at any given time.
'''
calculateGivenTime = CalculateGivenTime(
    InterestRate, effectiveInterestTerms, fixedPeriod, repayAmount, price)

摊销计划计算

方法有4个参数

利率 年 在这段时间内发生兴趣的频率 贷款金额

使用

。。代码::python

^{pr2}$

偿债基金计算

方法有4个参数

利率 年 在这段时间内发生兴趣的频率 金额

使用

。。代码::python

''' Create an instance of CalculateSinkingFund class and pass the parameters as integers'''
calculate = CalculateSinkingFund(interestRate, years, frequency, amount)
'''To run the calculations we need to call execute funtion '''
calculate.execute()

联系人

这个包是由Sadik Erisen创建的。如果您有任何问题或意见,请发送电子邮件至fserisen@gmail.com。在

许可证

麻省理工学院

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java从Dropwizard中的Minio检索文件时,GET请求中的超时是如何处理的?   带Hibernate的java Jackson用于序列化以避免枚举   Raspberry Pi上的java Jave分段错误   java在屏幕旋转时不保存当前片段和数据   java War文件未在Heroku上正确部署   如何使用Java处理Selenium webdriver中的促销广告或cookie   java处理“用法:PApplet[options]<classname>[sketch args]”   java文本文件错误扫描程序   运行第一个JavaFX模块化程序时出现java异常   java将fileoutputstream转换为字符串   如何调试gstreamerjava?   java Spring RestTemplate ResponseBody类是什么样的   如何将JSON数组转换为Java列表。我在用斯文森   javascript在显示div按钮后进入新页面