Modeling interest rate and basis risk

From CaseMark/skills · View interactive version

Modeling interest rate and basis risk is an AI agent skill from the GitHub repository CaseMark/skills. Analyzes structural interest rate exposure with fixed/floating mismatch, basis risk, and cap/floor adequacy assessment. Use when modeling structural rate risk, analyzing basis risk, or evaluating interest rate hedging needs.

How to use this skill

Skill file

Modeling Interest Rate And Basis Risk

When To Use

Inputs To Gather

Workflow

  1. Map the rate structure — Catalog every rate index, reset date, and day-count convention on both asset and liability sides. Identify each point of mismatch: index basis (different benchmarks), tenor basis (different reset frequencies), and day-count basis.
  1. Build the base-case cash flow model — Project asset collections and liability payments period-by-period using the current forward curve. Calculate gross interest income, debt service, and excess spread through the waterfall. Confirm the model ties to the deal's payment date report or offering memorandum examples.
  1. Quantify fixed/floating mismatch — Compute net interest rate sensitivity per tranche:
  1. Isolate basis risk — Hold the overall rate level constant and shock the basis spread between mismatched indices:
  1. Evaluate cap/floor adequacy — For deals with purchased interest rate caps:
  1. Run scenario matrix — Construct a table of outcomes across rate paths:
  1. Assess waterfall triggers — Determine whether any rate/basis scenario causes:

Output

Quality Checks

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.