Interest Rate Models

CIR++ Interest Rate Simulator

CIR++ extends the Cox-Ingersoll-Ross short-rate model with a deterministic shift to fit the initial yield curve, making it practical for internal rate simulation and pricing workflows in QuantModels.ai.

Model Overview

A shifted short-rate framework for fixed-income analytics

CIR++ extends the Cox-Ingersoll-Ross short-rate model with a deterministic shift to fit the initial yield curve.

Mathematical Intuition

r(t) = x(t) + phi
dx(t) = kappa(theta - x(t))dt + sigma sqrt(x(t)) dW(t)

The deterministic shift phi lets the total short rate align with the market curve at inception, while x(t) retains the mean-reverting non-negative structure of CIR.

CIR++ Inputs

Terminal Output

Avg terminal short rate

0.0465

Simulated short-rate path table

StepTimeAvg x(t)Avg r(t)
00.00000.03000.0400
10.08330.03060.0406
20.16670.03120.0412
30.25000.03180.0418
40.33330.03230.0423
50.41670.03270.0427
60.50000.03330.0433
70.58330.03370.0437
80.66670.03400.0440
90.75000.03450.0445
100.83330.03500.0450
110.91670.03570.0457
121.00000.03650.0465

Use Cases

  • interest-rate simulation
  • yield curve fitting
  • zero-coupon bond pricing
  • interest-rate derivatives
  • risk scenario generation

Simulation Workflow

  • Set the short-rate state, mean-reversion, volatility, deterministic shift, and horizon assumptions.
  • Simulate the CIR state process x(t) using a non-negative short-rate dynamic.
  • Form the full short rate through r(t) = x(t) + phi.
  • Review the average terminal rate and the simulated short-rate path table.

Pricing Applications

  • Bond discounting and yield-curve aware valuation
  • Interest-rate derivatives and structured rate scenarios
  • Stress testing for treasury, ALM, and fixed-income risk workflows