joellewis avatar

Time Value Of Money

This handles all the classic time value of money calculations: present and future value, NPV, IRR, loan amortization, annuities, perpetuities, and the Gordon growth model. It covers discrete and continuous compounding, so you can compare rates across different frequencies or build a proper mortgage amortization table. Use it when you need to discount cash flows, figure out what a stream of payments is worth today, or evaluate whether a project clears your hurdle rate. The formulas are solid and the examples walk through real mortgage and NPV scenarios with actual numbers. One thing to watch: it mentions a common pitfall about mismatching rate and period frequency but the text cuts off mid-sentence, so double check your own rate conversions.

skills.sh installs
754
GitHub stars
224
last updated
Aug 21, 2026

Install

$ npx -y skills add joellewis/finance_skills --skill time-value-of-money --agent claude-code

Installs into .claude/skills of the current project.

Files

Time Value of Money

Core Concepts

Future Value (FV)

The value of a present sum after earning interest for n periods at rate r per period.

$$FV = PV \times (1 + r)^n$$

Future value grows exponentially with time, which is the mathematical basis of compound interest.

Present Value (PV)

The current worth of a future sum, discounted back at rate r for n periods. This is the inverse of future value.

$$PV = \frac{FV}{(1 + r)^n}$$

Present value is the cornerstone of all valuation: a dollar today is worth more than a dollar tomorrow because of the opportunity cost of capital.

Compounding Conventions

Interest can compound at different frequencies. The nominal annual rate r_nom compounded m times per year produces different effective yields.

Discrete compounding (m times per year):

$$FV = PV \times \left(1 + \frac{r_{nom}}{m}\right)^{m \times t}$$

Continuous compounding:

$$FV = PV \times e^{r \times t}$$

Effective Annual Rate (EAR):

$$EAR = \left(1 + \frac{r_{nom}}{m}\right)^m - 1$$

For continuous compounding: EAR = e^(r_nom) - 1

Sponsors

Details

Repository
github.com/joellewis/finance_skills
Category
Finance & Trading
First seen
Jun 3, 2026

More from joellewis/finance_skills

All 84
1ruvnet avatartrader-backtestruvnet/rufloRun a historical backtest using npx neural-trader with Rust/NAPI engine (8-19x faster) and walk-forward validation; Ed25519-sign the result for paper→live tampe746skills.sh installs
2whawkinsiv avataraccountingwhawkinsiv/claude-code-skillsaccounting742skills.sh installs
3joellewis avatarsavings-goalsjoellewis/finance_skillsPlan and track savings for specific financial goals including retirement, education, and home purchase. Use when the user asks about required savings rates, 529741skills.sh installs
4chengzuopeng avatarstock-analystchengzuopeng/stock-sdk-mcp股票技术分析专家 - 提供专业的 K 线形态、技术指标、资金流向与北向持仓分析735skills.sh installs
5joellewis avatardigital-assetsjoellewis/finance_skillsAnalyze digital assets including cryptocurrency fundamentals, blockchain mechanics, DeFi protocols, and on-chain metrics. Use when the user asks about crypto in719skills.sh installs
6joellewis avataroperational-riskjoellewis/finance_skillsGuide identification, measurement, and management of operational risk in trading and brokerage operations. Use when designing trade error detection and correcti706skills.sh installs