Interest Rate Swap (IRS) Case Study
About 2 min
Interest Rate Swap (IRS) Case Study
Visit the Mathema Option Pricing System for foreign exchange options and structured product valuation!
The Interest Rate Swap (IRS) case study provides functions for holiday management, valuation and discount curve construction, IRS object creation, fixed and floating leg analysis, and swap result analysis.
Click the image below to download the template:
Interest Rate Swap Case Study Template: Function Descriptions
1. Holiday Calendar Construction Functions
- McpCalendar: Constructs a holiday calendar object.
2. Curve Construction Functions
- McpYieldCurve: Constructs valuation and discount curves.
3. IRS Construction Functions
- McpVanillaSwap: Constructs an IRS object.
4. Fixed Leg Analysis Functions
- SwapFixedLegAnnuity: Calculates the annuity.
- SwapFixedLegDuration: Calculates the duration.
- SwapFixedLegMDuration: Calculates the modified duration.
- SwapFixedLegCumPV: Calculates the cumulative present value.
- SwapFixedLegCumCF: Calculates the cumulative cash flow.
- SwapFixedLegNPV: Calculates the net present value (NPV).
- SwapFixedLegDV01: Calculates the DV01.
- SwapFixedLegPremium: Calculates the premium.
- SwapFixedLegAccrued: Calculates the accrued interest.
- SwapFixedLegMarketValue: Calculates the market value.
5. Floating Leg Analysis Functions
- SwapFloatingLegAnnuity: Calculates the annuity.
- SwapFloatingLegDuration: Calculates the duration.
- SwapFloatingLegMDuration: Calculates the modified duration.
- SwapFloatingLegCumPV: Calculates the cumulative present value.
- SwapFloatingLegCumCF: Calculates the cumulative cash flow.
- SwapFloatingLegNPV: Calculates the net present value (NPV).
- SwapFloatingLegDV01: Calculates the DV01.
- SwapFloatingLegPremium: Calculates the premium.
- SwapFloatingLegAccrued: Calculates the accrued interest.
- SwapFloatingLegMarketValue: Calculates the market value.
6. Swap Result Functions
- SwapNPV: Calculates the net present value (NPV).
- SwapMarketParRate: Calculates the Par Rate/Yield.
- SwapDuration: Calculates the duration.
- SwapMDuration: Calculates the modified duration.
- SwapPV01: Calculates the PVBP.
- SwapDV01: Calculates the DV01.
- SwapCF: Calculates the cash flow.
- SwapValuationDayCF: Calculates the valuation day cash flow.
- SwapMarketValue: Calculates the market value.
- SwapAccrued: Calculates the accrued interest.
- SwapPNL: Calculates the P&L.
7. Pricing Functions
- SwapCalculateSwapRateFromNPV: Derives the fixed leg rate from the NPV.
- SwapCalculateFloatingMarginFromNPV: Derives the floating leg margin from the NPV.
- SwapFixedLegs: Calculates the fixed leg cash flows.
- SwapFloatingLegs: Calculates the floating leg cash flows.
8. Fixing Frequency and Fixing Price Functions
- SwapFloatingQuotes: Calculates the floating leg fixing frequency and fixing price.
- SwapFloatingQuoteLegs: Calculates the floating leg fixing frequency and fixing price.
9. FRTB Sensitivity Indicator Functions
- SwapFrtbGirrDeltas: Calculates FRTB sensitivity indicators.