compute the Speed of a European-style option with given payoff
BlackScholesSpeed(S0, K, T, sigma, r, d, optiontype)
BlackScholesSpeed(S0, P, T, sigma, r, d)
algebraic expression; initial (current) value of the underlying asset
algebraic expression; strike price
algebraic expression; time to maturity
algebraic expression; volatility
algebraic expression; continuously compounded risk-free rate
algebraic expression; continuously compounded dividend yield
operator or procedure; payoff function
call or put; option type
The Speed of an option or a portfolio of options measures Gamma's sensitivity to changes in the value of the underlying asset.
The BlackScholesSpeed command computes the Speed of a European-style option with the specified payoff function.
The parameter S0 is the initial (current) value of the underlying asset. The parameter T is the time to maturity in years.
The parameter K specifies the strike price if this is a vanilla put or call option. Any payoff function can be specified using the second calling sequence. In this case the parameter P must be given in the form of an operator, which accepts one parameter (spot price at maturity) and returns the corresponding payoff.
The sigma, r, and d parameters are the volatility, the risk-free rate, and the dividend yield of the underlying asset. These parameters can be given in either the algebraic form or the operator form. The parameter d is optional. By default, the dividend yield is taken to be 0.
The Gamma of an option measures the sensitivity of the Delta to changes in the value of the underlying asset, S0. The Speed of an option measures Gamma's sensitivity to changes in the value of the underlying asset. The following example illustrates the characteristics of the Speed of an option with respect to changes in the value of the underlying asset as well as movement in the time to maturity.
In this example, the Speed is defined as a function of the underlying asset price S0, and time to maturity, T. For a European call option, we will assume that the strike price is 100, volatility is 0.10, and the risk-free interest rate of 0.05. We also assume that this option does not pay any dividends.
Speed ≔ BlackScholesSpeed⁡S0,100,T,0.1,0.05,0,'call':
plot3d⁡Speed,T=1.0..0,S0=0..200,'labels'=Time To Maturity,Spot Price,Value,'colorscheme'=zgradient,Black,White,Red,'thickness'=0
We can also see how the Speed behaves as a function of the risk-free interest rate, the dividend yield, and volatility. To compute the Speed of a European call option with strike price 100 maturing in 1 year, we take:
This can be numerically solved for specific values of the risk-free rate, the dividend yield, and the volatility.
It is also possible to use the generic method in which the option is defined through its payoff function:
Speed ≔ BlackScholesSpeed⁡100,100,1,σ,r,0.03,'call'
Here are similar examples for the European put option:
Hull, J., Options, Futures, and Other Derivatives, 5th. edition. Upper Saddle River, New Jersey: Prentice Hall, 2003.
The Finance[BlackScholesSpeed] command was introduced in Maple 2015.
For more information on Maple 2015 changes, see Updates in Maple 2015.
Download Help Document
What kind of issue would you like to report? (Optional)