Finance
BlackScholesVega
compute the Vega of a European-style option with given payoff
Calling Sequence
Parameters
Description
Examples
References
Compatibility
BlackScholesVega(S0, K, T, sigma, r, d, optiontype)
BlackScholesVega(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 Vega of an option or a portfolio of options is the sensitivity of the option or portfolio to changes in the volatility of the underlying asset.
Vega=ⅆSⅆσ
The BlackScholesVega command computes the Vega 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:
r≔0.05
d≔0.03
First you compute the Vega of a European call option with strike price 100, which matures in 1 year. This will define the Vega as a function of the risk-free rate, the dividend yield, and the volatility.
expand⁡BlackScholesVega⁡100,100,1,σ,r,d,call
38.32995297⁢ⅇ−0.1249999999⁢σ2⁢ⅇ−0.0001999999998σ2−1.×10−10⁢ⅇ−0.1249999999⁢σ2⁢ⅇ−0.0001999999998σ2σ2
In this example you will use numeric values for the risk-free rate, the dividend yield, and the volatility.
BlackScholesVega⁡100,100,1,0.3,0.05,0.03,call
37.81702623
You can also use the generic method in which the option is defined through its payoff function.
expand⁡BlackScholesVega⁡100,t↦max⁡t−100,0,1,σ,r,d
38.32995296⁢ⅇ−0.1249999999⁢σ2⁢ⅇ−0.0001999999998σ2
BlackScholesVega⁡100,t↦max⁡t−100,0,1,0.3,0.05,0.03
37.81702620
Vega≔expand⁡BlackScholesVega⁡100,K,1,σ,0.05,0.03,call
Vega≔−17.72825559⁢ⅇ−10.69609962σ2⁢1K−4.625170183σ2⁢ⅇ−0.4999999997⁢ln⁡1K2σ2⁢ⅇ−0.1249999999⁢σ2σ2⁢1K0.4999999997−3.832995301⁢ln⁡1K⁢ⅇ−10.69609962σ2⁢1K−4.625170183σ2⁢ⅇ−0.4999999997⁢ln⁡1K2σ2⁢ⅇ−0.1249999999⁢σ2σ2⁢1K0.4999999997+1.916497650⁢ⅇ−10.69609962σ2⁢1K−4.625170183σ2⁢ⅇ−0.4999999997⁢ln⁡1K2σ2⁢ⅇ−0.1249999999⁢σ21K0.4999999997+17.72825555⁢K⁢ⅇ−10.69609962σ2⁢1K−4.625170184σ2⁢ⅇ−0.4999999997⁢ln⁡1K2σ2⁢1K0.4999999998⁢ⅇ−0.1249999999⁢σ2σ2+3.832995293⁢ln⁡1K⁢K⁢ⅇ−10.69609962σ2⁢1K−4.625170184σ2⁢ⅇ−0.4999999997⁢ln⁡1K2σ2⁢1K0.4999999998⁢ⅇ−0.1249999999⁢σ2σ2+1.916497646⁢K⁢ⅇ−10.69609962σ2⁢1K−4.625170184σ2⁢ⅇ−0.4999999997⁢ln⁡1K2σ2⁢1K0.4999999998⁢ⅇ−0.1249999999⁢σ2
plot3d⁡Vega,σ=0..1,K=70..120,axes=BOXED
Here are similar examples for the European put option.
expand⁡BlackScholesVega⁡100,120,1,σ,r,d,put
41.98835974⁢ⅇ−0.01317414389σ2⁢ⅇ−0.1249999999⁢σ2
BlackScholesVega⁡100,120,1,0.3,0.05,0.03,put
35.86504172
expand⁡BlackScholesVega⁡100,t↦max⁡120−t,0,1,σ,r,d
41.98835973⁢ⅇ−0.01317414389σ2⁢ⅇ−0.1249999999⁢σ2
BlackScholesVega⁡100,t↦max⁡120−t,0,1,0.3,0.05,0.03,d
35.86504186
In this example, you will compute the Vega of a strangle.
S≔expand⁡BlackScholesVega⁡100,t↦piecewise⁡t<90,90−t,t<110,0,t−110,1,σ,r,d
S≔36.36298620⁢ⅇ−0.1249999999⁢σ2⁢ⅇ−0.007857629439σ2+5.×10−9⁢ⅇ−0.1249999999⁢σ2⁢ⅇ−0.007857629439σ2σ2+40.20079382⁢ⅇ−0.1249999999⁢σ2⁢ⅇ−0.002835811589σ2−1.×10−9⁢ⅇ−0.1249999999⁢σ2⁢ⅇ−0.002835811589σ2σ2
C≔expand⁡BlackScholesVega⁡100,110,1,σ,r,d,call
C≔20.10039692⁢ⅇ−0.1249999999⁢σ2⁢ⅇ−0.002835811588σ2+3.027529011⁢ⅇ−0.1249999999⁢σ2⁢ⅇ−0.002835811588σ2σ2−3.027529011⁢ⅇ−0.1249999999⁢σ2⁢ⅇ−0.002835811589σ2σ2+20.10039691⁢ⅇ−0.1249999999⁢σ2⁢ⅇ−0.002835811589σ2
P≔expand⁡BlackScholesVega⁡100,90,1,σ,r,d,put
P≔4.558482700⁢ⅇ−0.007857629432σ2⁢ⅇ−0.1249999999⁢σ2σ2+18.18149310⁢ⅇ−0.007857629432σ2⁢ⅇ−0.1249999999⁢σ2−4.558482699⁢ⅇ−0.007857629430σ2⁢ⅇ−0.1249999999⁢σ2σ2+18.18149310⁢ⅇ−0.007857629430σ2⁢ⅇ−0.1249999999⁢σ2
Check that S is sufficiently close to C+P.
plot⁡S,C+P,σ=0..1,color=red,blue,thickness=3,axes=BOXED,gridlines
Hull, J., Options, Futures, and Other Derivatives, 5th. edition. Upper Saddle River, New Jersey: Prentice Hall, 2003.
The Finance[BlackScholesVega] 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[BlackScholesDelta]
Finance[BlackScholesGamma]
Finance[BlackScholesPrice]
Finance[BlackScholesRho]
Finance[BlackScholesTheta]
Finance[EuropeanOption]
Finance[ImpliedVolatility]
Finance[LatticePrice]
Download Help Document