Financial Toolbox | ![]() ![]() |
Analysis Models
Toolbox functions for analyzing equity derivatives use the Black-Scholes model for European options and the binomial model for American options. The Black-Scholes model makes several assumptions about the underlying securities and their behavior. The binomial model, on the other hand, makes far fewer assumptions about the processes underlying an option. For further explanation, please see the book by John Hull listed in the Bibliography.
Black-Scholes Model
Using the Black-Scholes model entails several assumptions:
[OptCall, OptPut] = blsprice(100, 95, 0.10, 0.25, 0.50, 0); [CallVal, PutVal] = blsdelta(100, 95, 0.10, 0.25, 0.50, 0); GammaVal = blsgamma(100, 95, 0.10, 0.25, 0.50, 0); VegaVal = blsvega(100, 95, 0.10, 0.25, 0.50, 0); [LamCall, LamPut] = blslambda(100, 95, 0.10, 0.25, 0.50, 0);yields:
PutVal
= -0.3335
blsprice
.
Volatility = blsimpv(100, 95, 0.10, 0.25, OptCall);The function returns an implied volatility of 0.500, the original
blsprice
input.
Binomial Model
The binomial model for pricing options or other equity derivatives assumes that the probability over time of each possible price follows a binomial distribution. The basic assumption is that prices can move to only two values, one up and one down, over any short time period. Plotting the two values, and then the subsequent two values each, and then the subsequent two values each, and so on over time, is known as "building a binomial tree." This model applies to American options, which can be exercised any time up to and including their expiration date.
flag = 1
), the dividend rate is 0, and it pays a dividend of $5.00 after three periods (an ex-dividend date). Executing the toolbox function
[StockPrice, OptionPrice] = binprice(100, 95, 0.10, 0.25,... 0.05, 0.50, 1, 0, 5.0, 3);returns the tree of prices of the underlying asset
StockPrice =
100.00 111.27 123.87 137.96 148.69 166.28
0 89.97 100.05 111.32 118.90 132.96
0 0 81.00 90.02 95.07 106.32
0 0 0 72.98 76.02 85.02
0 0 0 0 60.79 67.98
0 0 0 0 0 54.36
and the tree of option values.
OptionPrice =
12.10 19.17 29.35 42.96 54.17 71.28
0 5.31 9.41 16.32 24.37 37.96
0 0 1.35 2.74 5.57 11.32
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
The output from the binomial function is a binary tree. Read the StockPrice
matrix this way: column 1 shows the price for period 0, column 2 shows the up and down prices for period 1, column 3 shows the up-up, up-down, and down-down prices for period 2, etc. Ignore the zeros. The OptionPrice
matrix gives the associated option value for each node in the price tree. Ignore the zeros that correspond to a zero in the price tree.
![]() | Sensitivity Measures | Analyzing Portfolios | ![]() |