Finance[BlackScholesTheta] - compute the Theta of a European-style option with given payoff
|
Calling Sequence
|
|
BlackScholesTheta(, K, T, sigma, r, d, optiontype)
BlackScholesTheta(, P, T, sigma, r, d)
|
|
Parameters
|
|
|
-
|
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
|
|
|
|
|
Description
|
|
•
|
The Theta of an option or a portfolio of options is the rate of change of the option price or the porfolio price with time
|
•
|
The BlackScholesTheta command computes the Theta of a European-style option with the specified payoff function.
|
•
|
The parameter 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.
|
|
|
Compatibility
|
|
•
|
The Finance[BlackScholesTheta] command was introduced in Maple 15.
|
|
|
Examples
|
|
>
|
|
>
|
|
| (1) |
>
|
|
| (2) |
First you compute the Theta of a European call option with strike price 100, which matures in 1 year. This will define the Theta as a function of the risk-free rate, the dividend yield, and the volatility.
>
|
|
| (3) |
In this example you will use numeric values for the risk-free rate, the dividend yield, and the volatility.
>
|
|
| (4) |
You can also use the generic method in which the option is defined through its payoff function.
>
|
|
| (5) |
>
|
|
| (6) |
>
|
|
| (7) |
>
|
|
Here are similar examples for the European put option.
>
|
|
| (8) |
>
|
|
| (9) |
>
|
|
| (10) |
>
|
|
| (11) |
|
|
See Also
|
|
Finance[AmericanOption], Finance[BermudanOption], Finance[BlackScholesDelta], Finance[BlackScholesGamma], Finance[BlackScholesPrice], Finance[BlackScholesPrice], Finance[BlackScholesRho], Finance[BlackScholesVega], Finance[EuropeanOption], Finance[ImpliedVolatility], Finance[LatticePrice]
|
|
References
|
|
|
Hull, J., Options, Futures, and Other Derivatives, 5th. edition. Upper Saddle River, New Jersey: Prentice Hall, 2003.
|
|
|