joellewis avatar

Fixed Income Structured

This breaks down structured fixed income products like MBS, ABS, and CLOs with a focus on prepayment modeling and tranching mechanics. It covers PSA prepayment speeds, the CPR to SMM conversion, weighted average life calculations, and how CMO tranches redistribute cash flows. The skill walks through waterfall structures and subordination levels with concrete examples, like calculating that a CLO's AAA tranche with 35% subordination can absorb significant losses before taking principal hits. The key insight here is the treatment of negative convexity in MBS, explaining why you can't use standard duration metrics when cash flows change with rates. Useful when you need to model prepayment risk or understand how securitization redistributes credit and interest rate exposure across tranches.

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

Install

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

Installs into .claude/skills of the current project.

Files

Fixed Income — Structured Products

Core Concepts

MBS Pass-Throughs

A pool of mortgages whose cash flows (principal, interest, prepayments) are passed through to investors on a pro-rata basis. Agency MBS (Ginnie Mae, Fannie Mae, Freddie Mac) carry a government or GSE guarantee against credit losses, isolating prepayment risk as the primary concern. Non-agency MBS lack this guarantee and carry both credit and prepayment risk.

Prepayment Risk

Borrowers can refinance when rates drop, returning principal early. This creates negative convexity — when rates fall, MBS prices rise less than comparable Treasuries because prepayments accelerate and shorten the bond's effective life. Prepayment risk has two faces:

Contraction risk: Rates fall, prepayments accelerate, duration shortens. Investors receive principal back when reinvestment rates are lower.

Extension risk: Rates rise, prepayments slow, duration extends. Investors are locked into below-market coupons for longer than expected.

PSA Prepayment Model

The Public Securities Association model provides a benchmark prepayment speed:

Sponsors

Details

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

More from joellewis/finance_skills

All 84
1joellewis avatarpre-trade-compliancejoellewis/finance_skillsGuide the design and implementation of automated pre-trade compliance systems that validate orders before execution. Use when building a compliance rule engine 699skills.sh installs
2joellewis avatarbooks-and-recordsjoellewis/finance_skillsGuide the design and maintenance of recordkeeping programs under SEC Rules 17a-3, 17a-4, and 204-2. Use when the user asks about document retention schedules, h697skills.sh installs
3joellewis avatarfixed-income-municipaljoellewis/finance_skillsAnalyze municipal bonds including tax-equivalent yield calculations, GO vs revenue bond evaluation, and muni credit analysis. Use when the user asks about munic693skills.sh installs
4joellewis avatarcrm-client-lifecyclejoellewis/finance_skillsDesign and optimize CRM systems and client lifecycle workflows for advisory firms, covering segmentation, household management, service tiers, and retention ana691skills.sh installs
5joellewis avataradvisor-dashboardsjoellewis/finance_skillsDesign, build, and optimize dashboards for RIA practice management with AUM tracking, revenue analytics, and KPI frameworks. Use when the user asks about tracki690skills.sh installs
6joellewis avatarstp-automationjoellewis/finance_skillsMeasure and raise straight-through processing (STP) rates in securities operations through zero-touch, exception-based processing. Use when measuring STP rates 686skills.sh installs