Finance
BlackScholesDelta
compute the Delta of a European-style option with given payoff
Calling Sequence
Parameters
Description
Examples
References
Compatibility
BlackScholesDelta(S0, K, T, sigma, r, d, optiontype)
BlackScholesDelta(S0, P, T, sigma, r, d)
S0
-
algebraic expression; initial (current) value of the underlying asset
K
algebraic expression; strike price
T
algebraic expression; time to maturity
sigma
algebraic expression; volatility
r
algebraic expression; continuously compounded risk-free rate
d
algebraic expression; continuously compounded dividend yield
P
operator or procedure; payoff function
optiontype
call or put; option type
The Delta of an option or a portfolio of options is the sensitivity of the option or portfolio to changes in the value of the underlying asset
Δ=ⅆSⅆS0
The BlackScholesDelta command computes the Delta 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.
with⁡Finance:
First compute the Delta of a European call option with strike price 100, which matures in 1 year. This will define the Delta as a function of the risk-free rate, the dividend yield, and the volatility.
BlackScholesDelta⁡100,100,1,σ,r,d,call
−ⅇ−d⁢erf⁡−σ2+2⁢d−2⁢r⁢24⁢σ−12
In this example you will use numeric values for the risk-free rate, the dividend yield, and the volatility.
BlackScholesDelta⁡100,100,1,0.3,0.05,0.03,call
0.568453937
You can also use the generic method in which the option is defined through its payoff function.
BlackScholesDelta⁡100,t↦max⁡t−100,0,1,σ,r,d
BlackScholesDelta⁡100,t↦max⁡t−100,0,1,0.3,0.05,0.03
0.5684539378
Δ≔BlackScholesDelta⁡100,100,1,σ,r,0.03,call
Δ≔0.4852227668⁢σ+0.4852227668⁢erf⁡−0.02121320343+0.707106781⁢r+0.3535533905⁢σ2σ⁢σ+0.387151754⁢ⅇ−0.00004999999997⁢50.⁢σ2+100.⁢r−3.2σ2−0.3989422803⁢ⅇ−1.⁢0.5000000002⁢r⁢σ2+0.0004499999998−0.02999999998⁢r+0.01499999999⁢σ2+0.4999999997⁢r2+0.1249999999⁢σ4σ2σ
plot3d⁡Δ,σ=0..1,r=0..1,axes=BOXED
Here are similar examples for the European put option.
BlackScholesDelta⁡100,120,1,σ,r,d,put
ⅇ−d⁢erf⁡−2⁢ln⁡65+σ2−2⁢d+2⁢r⁢24⁢σ−12
BlackScholesDelta⁡100,120,1,0.3,0.05,0.03,put
−0.632854644
BlackScholesDelta⁡100,t↦max⁡120−t,0,1,σ,r,d
ⅇ−r⁢2−ln⁡35−σ2+d−rσ2⁢5σ2+2⁢d−2⁢r2⁢σ2⁢3σ22+ln⁡5−d+rσ2⁢ⅇ−σ4+4⁢d⁢σ2−4⁢r⁢σ2+4⁢ln⁡32+4⁢ln⁡52+4⁢ln⁡22+4⁢d2−8⁢d⁢r+4⁢r28⁢σ2+5⁢erf⁡−2⁢ln⁡65+σ2−2⁢d+2⁢r⁢24⁢σ⁢ⅇr−d⁢π⁢σ−5⁢ⅇr−d⁢π⁢σ−6⁢ⅇ−−2⁢ln⁡65−σ2−2⁢d+2⁢r28⁢σ2⁢210⁢π⁢σ
BlackScholesDelta⁡100,t↦max⁡120−t,0,1,0.3,0.05,0.03,d
−0.6328546388
In this example, you will compute the Delta of a strangle.
S≔BlackScholesDelta⁡100,t↦piecewise⁡t<50,50−t,t<100,0,t−100,1,σ,r,d
S≔−ⅇ−r⁢−2⁢erf⁡2⁢σ2+2⁢ln⁡2−2⁢d+2⁢r4⁢σ⁢ⅇr−d⁢π⁢σ+2⁢erf⁡−σ2+2⁢d−2⁢r⁢24⁢σ⁢ⅇr−d⁢π⁢σ+ⅇ−−σ2+2⁢ln⁡2−2⁢d+2⁢r28⁢σ2⁢2−2σ2+d−rσ2⁢ⅇ−σ4+4⁢d⁢σ2−4⁢r⁢σ2+4⁢ln⁡22+4⁢d2−8⁢d⁢r+4⁢r28⁢σ24⁢π⁢σ
C≔BlackScholesDelta⁡100,100,1,σ,r,d,call
C≔−ⅇ−d⁢erf⁡−σ2+2⁢d−2⁢r⁢24⁢σ−12
P≔BlackScholesDelta⁡100,50,1,σ,r,d,put
P≔ⅇ−d⁢erf⁡2⁢σ2+2⁢ln⁡2−2⁢d+2⁢r4⁢σ−12
Check:
simplify⁡S−C−P
0
Hull, J., Options, Futures, and Other Derivatives, 5th. edition. Upper Saddle River, New Jersey: Prentice Hall, 2003.
The Finance[BlackScholesDelta] command was introduced in Maple 15.
For more information on Maple 15 changes, see Updates in Maple 15.
See Also
Finance[AmericanOption]
Finance[BermudanOption]
Finance[BlackScholesGamma]
Finance[BlackScholesPrice]
Finance[BlackScholesRho]
Finance[BlackScholesTheta]
Finance[BlackScholesVega]
Finance[EuropeanOption]
Finance[ImpliedVolatility]
Finance[LatticePrice]
Download Help Document