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.0456

Simulated short-rate path table

StepTimeAvg x(t)Avg r(t)
00.00000.03000.0400
10.08330.03060.0406
20.16670.03110.0411
30.25000.03150.0415
40.33330.03210.0421
50.41670.03230.0423
60.50000.03300.0430
70.58330.03350.0435
80.66670.03390.0439
90.75000.03440.0444
100.83330.03480.0448
110.91670.03510.0451
121.00000.03560.0456

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