AmericanBinomPut#
Purpose#
Prices American put options using the binomial method.
Format#
- c = AmericanBinomPut(S0, K, r, div, tau, sigma, N)#
- Parameters:
S0 (scalar) – current price.
K (Mx1 vector) – strike prices.
r (scalar) – risk free rate.
div (scalar) – continuous dividend yield.
tau (scalar) – elapsed time to exercise in annualized days of trading.
sigma (scalar) – volatility.
N (scalar) – number of time segments. A higher number of time segments will increase accuracy at the expense of increased computation time.
- Returns:
c (Mx1 vector) – put premiums.
Examples#
S0 = 718.46;
K = { 720, 725, 730 };
r = .0498;
sigma = .2493;
t0 = dtday(2001, 1, 30);
t1 = dtday(2001, 2, 16);
tau = elapsedTradingDays(t0, t1) /
annualTradingDays(2001);
c = AmericanBinomPut(S0, K, r, 0, tau, sigma, 60);
print c;
produces:
16.916361
19.650636
22.462440
Remarks#
The binomial method of Cox, Ross, and Rubinstein (“Option pricing: a simplified approach,” Journal of Financial Economics, 7:229:264) as described in Options, Futures, and other Derivatives by John C. Hull is the basis of this procedure.
Source#
finprocs.src