joellewis avatar

Fixed Income Sovereign

Handles government bond analytics from pricing and yield curves through duration and convexity. Use it when you need to bootstrap spot rates from par yields, calculate DV01 for hedging, or decompose TIPS breakeven inflation. Covers the full sovereign toolkit including forward rate derivation, key rate durations for non-parallel curve shifts, and second-order price approximations. The worked examples walk through realistic calculations like pricing a semi-annual coupon bond and estimating price changes with convexity adjustments. This is the foundation layer for fixed income work since corporate and muni spreads reference the Treasury curve.

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

Install

$ npx -y skills add joellewis/finance_skills --skill fixed-income-sovereign --agent claude-code

Installs into .claude/skills of the current project.

Files

Fixed Income — Sovereign

Scope: US Treasuries and rates analytics. Sovereign credit risk — emerging market debt, default analysis, country risk spreads — is out of scope for this skill.

Core Concepts

Bond Pricing

The price of a bond is the present value of its future cash flows:

P = sum(t=1 to n) [C / (1+y)^t] + F / (1+y)^n

where C = coupon payment per period, y = yield to maturity per period, F = face value, n = total number of periods. For semi-annual bonds, divide the annual coupon by 2 and the annual yield by 2, and double the number of years to get n.

Yield to Maturity (YTM)

The discount rate y that solves the bond pricing equation — the single rate that equates the bond's market price to the present value of all future cash flows. Assumes reinvestment of coupons at the YTM rate. It is the standard yield measure for bonds.

Current Yield

Current Yield = Annual Coupon / Price. A simple income measure that ignores capital gains/losses and the time value of money.

Sponsors

Details

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

More from joellewis/finance_skills

All 84
1mindrally avatarfirebase-developmentmindrally/skillsFirebase development guidelines for Firestore, Authentication, Functions, and Storage with TypeScript and Angular.715skills.sh installs
2uniswap avatarv4-hook-generatoruniswap/uniswap-aiGenerate Uniswap v4 hook contracts via OpenZeppelin MCP. Use when building custom swap logic, async swaps, hook-owned liquidity, custom curves, dynamic fees, ME714skills.sh installs
3alirezarezvani avatardependency-auditoralirezarezvani/claude-skillsAudit and manage dependencies across multi-language projects. Identifies vulnerabilities, license conflicts, transitive dependency risks, and safe-upgrade paths711skills.sh installs
4marswaveai avatarmusicmarswaveai/skillsGenerate, remix, extend, edit, and analyze AI music (Mureka). Triggers on: "音乐", "music", "生成音乐", "generate music", "翻唱", "cover", "混音", "remix", "续写", "extend"710skills.sh installs
5mohitmishra786 avatarcpu-cache-optmohitmishra786/low-level-dev-skillsCPU cache optimization skill for C/C++ and Rust. Use when diagnosing cache misses, improving data layout for cache efficiency, using perf stat cache counters, u709skills.sh installs
6mohitmishra786 avatarelf-inspectionmohitmishra786/low-level-dev-skillsELF binary inspection skill for Linux. Use when examining ELF executables or shared libraries with readelf, objdump, nm, or ldd to understand symbol visibility,702skills.sh installs