Finance
BlackScholesLambda
compute the Lambda of a European-style option with given payoff
Calling Sequence
Parameters
Description
Examples
References
Compatibility
BlackScholesLambda(S0, K, T, sigma, r, d, optiontype)
BlackScholesLambda(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 Lambda of an option or a portfolio of options is the percentage change in option value per percentage change in the price of the underlying asset, which is used as a measure of leverage.
Λ=ⅆSⅆS0⁢S0S
The BlackScholesLambda command computes the Lambda 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:
The following example illustrates the characteristics of the Lambda of an option with respect to the underlying asset price as well as the time to maturity.
In this example, the Lambda 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.
Λ≔BlackScholesLambda⁡S0,100,T,0.1,0.05,0,call:
plot3d⁡Λ,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 Lambda behaves as a function of the risk-free interest rate, the dividend yield, and volatility. To compute the Lambda of a European call option with strike price 100 maturing in 1 year, we take:
BlackScholesLambda⁡100,100,1,σ,r,d,call
ⅇ−d⁢erf⁡−σ2+2⁢d−2⁢r⁢24⁢σ−1ⅇ−d⁢erf⁡−σ2+2⁢d−2⁢r⁢24⁢σ−ⅇ−r⁢erf⁡σ2+2⁢d−2⁢r⁢24⁢σ−ⅇ−d+ⅇ−r
This can be numerically solved for specific values of the risk-free rate, the dividend yield, and the volatility.
BlackScholesLambda⁡100,100,1,0.3,0.05,0.03,call
4.568593519
It is also possible to use the generic method in which the option is defined through its payoff function:
BlackScholesLambda⁡100,t↦max⁡t−100,0,1,σ,r,d
ⅇr−d⁢erf⁡−σ2+2⁢d−2⁢r⁢24⁢σ−1erf⁡−σ2+2⁢d−2⁢r⁢24⁢σ⁢ⅇr−d−ⅇr−d−erf⁡σ2+2⁢d−2⁢r⁢24⁢σ+1
BlackScholesLambda⁡100,t↦max⁡t−100,0,1,0.3,0.05,0.03
4.568593411
Λ≔BlackScholesLambda⁡100,100,1,σ,r,0.03,call
Λ≔−48.52227668⁢σ−48.52227668⁢erf⁡−0.02121320343+0.707106781⁢r+0.3535533905⁢σ2σ⁢σ−38.7151754⁢ⅇ−0.00004999999997⁢50.⁢σ2+100.⁢r−3.2σ2+39.89422803⁢ⅇ−1.⁢0.5000000002⁢r⁢σ2+0.0004499999998−0.02999999998⁢r+0.01499999999⁢σ2+0.4999999997⁢r2+0.1249999999⁢σ4σ2−48.52227668−48.52227668⁢erf⁡−0.02121320343+0.707106781⁢r+0.3535533905⁢σ2σ+50.⁢ⅇ−1.⁢r+50.⁢ⅇ−1.⁢r⁢erf⁡−0.02121320343+0.707106781⁢r−0.3535533905⁢σ2σ⁢σ
plot3d⁡Λ,σ=0..1,r=0..1
Here are similar examples for the European put option:
BlackScholesLambda⁡100,120,1,0.3,0.05,0.03,put
−2.760749063
BlackScholesLambda⁡100,t↦max⁡120−t,0,1,0.3,0.05,0.03,0
−2.760749005
Hull, J., Options, Futures, and Other Derivatives, 5th. edition. Upper Saddle River, New Jersey: Prentice Hall, 2003.
The Finance[BlackScholesLambda] command was introduced in Maple 2015.
For more information on Maple 2015 changes, see Updates in Maple 2015.
See Also
Finance[BlackScholesDelta]
Finance[BlackScholesPrice]
Finance[BlackScholesRho]
Finance[BlackScholesTheta]
Finance[BlackScholesVega]
Finance[EuropeanOption]
Finance[ImpliedVolatility]
Finance[LatticePrice]
Download Help Document