PFE Chapter 24, Black-Scholes and binomial page 13
1
2
3
4
5
6
7
8
9
10
11
12
AB C D
BLACK-SCHOLES OPTION FUNCTIONS
The functions in this spreadsheet--Calloption and Putoption--were
defined by the author; they are part of this spreadsheet.
S 100 Current stock price
X 90 Exercise price
T 0.50000 Time to maturity of option (in years)
r 4.00% Risk-free rate of interest
Sigma 35% Stock volatility
Call price 16.32 <-- =calloption(B5,B6,B7,B8,B9)
Put price 4.53 <-- =putoption(B5,B6,B7,B8,B9)
The function Calloption(stock price, exercise price, time to maturity, interest, sigma)
is a defined macro which is attached to the spreadsheet.
3
When you first open the spreadsheet
Excel will display the following message, which asks if you really want to open this macro. In
this case the correct answer is
Enable macros.
An implied volatility function
The spreadsheet also comes with two functions which compute the implied volatility for
a call and a put option. The function
CallVolatility(stock price, exercise price, option
maturity, interest rate, target)
calculates the
σ
which gives the Black-Scholes price given the
3
As you can see in the spreadsheet, putoption has the same syntax.