百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
G

go-finance

> 编程语言
开源

包含一系列金融函数的 Go 库,用于计算货币的时间价值(年金)、现金流、利率转换、债券和折旧

193 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

包含一系列金融函数的 Go 库,用于计算货币的时间价值(年金)、现金流、利率转换、债券和折旧

go-finance

Go library containing a collection of financial functions for time value of money (annuities), cash flow, interest rate conversions, bonds and depreciation calculations.

List of functions

Rates

  • EffectiveRate
  • NominalRate

Cashflow

  • NetPresentValue
  • InternalRateOfReturn
  • ModifiedInternalRateOfReturn
  • ScheduledNetPresentValue
  • ScheduledInternalRateOfReturn

TVM

  • PresentValue
  • FutureValue
  • Payment
  • Periods
  • Rate
  • InterestPayment
  • PrincipalPayment

Bonds

  • DaysDifference
  • DaysPerYear
  • TBillEquivalentYield
  • TBillPrice
  • TBillYield
  • DiscountRate
  • PriceDiscount

Depreciation

  • DepreciationFixedDeclining
  • DepreciationSYD
  • DepreciationStraightLine

Docs

Checkout the full docs.

Also check this excellent blog post Learning finance concepts using go-finance for some examples and a general intro.

License

Mozilla Public License 2.0

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Gofintechgolang

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言