Finance[LocalVolatility] - compute the local volatilities given option prices
|
Calling Sequence
|
|
LocalVolatility(C, S, T, r, d, t, K)
|
|
Parameters
|
|
C
|
-
|
algebraic expression or a procedure; price of a European call option
|
S
|
-
|
list or Vector; values of the underlying asset
|
T
|
-
|
list or Vector; time (in years)
|
r
|
-
|
non-negative constant, algebraic expression or a yield term structure; risk-free rate
|
d
|
-
|
non-negative constant, algebraic expression or a yield term structure; dividend yield
|
t
|
-
|
name; variable representing time to maturity
|
K
|
-
|
name; variable representing the strike price
|
|
|
|
|
Description
|
|
•
|
The LocalVolatility command computes local volatilities of the underlying asset implied by the specified prices of European call options. It is assumed that the underlying asset evolves according to the stochastic differential equation
|
where
–
|
is the risk-free rate,
|
–
|
is the dividend yield,
|
–
|
is the local volatility,
|
and
–
|
is the standard Wiener process.
|
•
|
Note that the local volatility is a function of both time and the value of the underlying asset.
|
•
|
The parameter C is the discounted price of the European call option given as a function of the maturity time t and the strike price K.
|
•
|
The r and d parameters are the risk-free rate and the dividend yield. These parameters can be given in either the algebraic form or the operator form. If any of the parameters C, r, or d are given in the algebraic form, the parameters t and K must be specified to determine which variable represents time and which variable represents the strike price.
|
|
|
Compatibility
|
|
•
|
The Finance[LocalVolatility] command was introduced in Maple 15.
|
|
|
Examples
|
|
>
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
| (4) |
>
|
|
| (5) |
>
|
|
| (6) |
>
|
|
First you obtain a symbolic expression for the local volatility in terms of time and underlying value.
>
|
|
| (7) |
Alternatively, you can compute values of the local volatility for any given value of S and T.
>
|
|
| (8) |
>
|
|
| (9) |
>
|
|
| (10) |
|
|
See Also
|
|
Finance[AmericanOption], Finance[BarrierOption], Finance[BlackScholesDelta], Finance[BlackScholesGamma], Finance[BlackScholesPrice], Finance[BlackScholesRho], Finance[BlackScholesTheta], Finance[BlackScholesVega], Finance[EuropeanOption], Finance[LatticePrice], Finance[LocalVolatility]
|
|
References
|
|
|
Gatheral, J., The Volatility Surface: A Practioner's Guide, (with foreword by Nassim Taleb), Wiley, 2006.
|
|
Hull, J., Options, Futures, and Other Derivatives, 5th. edition. Upper Saddle River, New Jersey: Prentice Hall, 2003.
|
|
|