Dec
3

## Zero coupon CIR bond price

A simple Matlab code to calculate a zero-coupon bond price under the Cox-Ingersoll-Ross (CIR) Interest Rate Model, where r0 is the current interest rate, alpha, kappa, sigma are CIR parameters standing for mean reversion speed, long term mean rate, and volatility of interest rate, T is the maturity of bond.

Hot posts:

15 Incredibly Stupid Ways People Made Their Millions

Ino.com: Don't Join Marketclub until You Read This MarketClub Reviews

Online stock practice

World Changing Mathematical Discoveries

Value at Risk xls

Random posts:

Online derivative calculator

wavelet analysis

Constructing 130/30 Portfolios with the Omega Ratio

Send SMS in Matlab

Apply student credit card

h = sqrt(kappa^2 + 2*sigma^2);

A = (2*h*exp((kappa+h)*T/2)/(2*h + (kappa+h)*(exp(T*h)-1)))^((2*kappa*alpha)/sigma^2);

B = 2*(exp(T*h)-1)/(2*h + (kappa+h)*(exp(T*h)-1));

P = A*exp(-B*r0); % bond price at 0

A = (2*h*exp((kappa+h)*T/2)/(2*h + (kappa+h)*(exp(T*h)-1)))^((2*kappa*alpha)/sigma^2);

B = 2*(exp(T*h)-1)/(2*h + (kappa+h)*(exp(T*h)-1));

P = A*exp(-B*r0); % bond price at 0

**People viewing this post also viewed:**

Hot posts:

Random posts: