Finance[BinomialTree] - construct a recombining binomial tree
|
Calling Sequence
|
|
BinomialTree(G, S, , , opts)
BinomialTree(T, S, , , opts)
BinomialTree(T, N, , , , , , opts)
|
|
Parameters
|
|
G
|
-
|
time grid data structure; time grid
|
S
|
-
|
Array or list; state space of the discretized process
|
|
-
|
non-negative constant or operator; probability of going up
|
|
-
|
(optional) non-negative constant or operator; probability of going down
|
T
|
-
|
positive; stopping time
|
N
|
-
|
posint; number of times steps
|
|
-
|
positive constant; initial value
|
|
-
|
positive constant; upward movement
|
|
-
|
(optional) positive constant; downward movement
|
opts
|
-
|
(optional) equation(s) of the form option = value where option is mutable; specify options for the BinomialTree command
|
|
|
|
|
Description
|
|
•
|
The BinomialTree(G, S, , , opts) calling sequence constructs a recombining binomial tree approximating a certain stochastic process, typically a GeometricBrownianMotion. The constructed tree will be based on the discretizations of the time and the state spaces given by G and S.
|
•
|
At level , the tree has nodes, , ..., . Each node has two descendants at level , (the upper descendant), and (the lower descendant). The initial state of the underlying process will be equal to . For odd , the states of the underlying at the level are , , ..., , , , ..., , . For even , the states of the underlying at the level are , , ..., , , ..., , .
|
|
|
Options
|
|
•
|
mutable = truefalse -- This option specifies whether the tree should be mutable or not. The default is true.
|
|
|
Compatibility
|
|
•
|
The Finance[BinomialTree] command was introduced in Maple 15.
|
|
|
Examples
|
|
>
|
|
>
|
|
| (1) |
>
|
|
Here are two different views of the same tree. The first one uses the standard scale, the second one uses the logarithmic scale.
>
|
|
>
|
|
Inspect the tree.
>
|
|
| (2) |
>
|
|
| (3) |
Change the value of the underlying at the uppermost node on level 5 and compare the two trees.
>
|
|
>
|
|
>
|
|
>
|
|
Here is the same example as above but using a non-homogeneous time grid.
>
|
|
| (4) |
>
|
|
| (5) |
>
|
|
Here are two different views of the same tree. The first one uses the standard scale, the second one uses the logarithmic scale.
>
|
|
>
|
|
Inspect the tree.
>
|
|
| (6) |
>
|
|
| (7) |
Change the value of the underlying at the uppermost node on level 5 and compare the two trees.
>
|
|
>
|
|
>
|
|
>
|
|
In this example you will use the third construction.
>
|
|
| (8) |
>
|
|
| (9) |
>
|
|
Here are two different views of the same tree. The first one uses the standard scale, the second one uses the logarithmic scale.
>
|
|
>
|
|
Construct an immutable tree.
>
|
|
>
|
|
Use the default values for and .
>
|
|
>
|
|
Inspect the tree.
>
|
|
| (10) |
>
|
|
| (11) |
Change the value of the underlying at the uppermost node on level 5 and compare the two trees.
>
|
|
>
|
|
>
|
|
>
|
|
|
|
See Also
|
|
Finance[BlackScholesBinomialTree], Finance[BlackScholesTrinomialTree], Finance[GetDescendants], Finance[GetProbabilities], Finance[GetUnderlying], Finance[ImpliedBinomialTree], Finance[ImpliedTrinomialTree], Finance[LatticeMethods], Finance[MultinomialTree], Finance[SetDescendants], Finance[SetProbabilities], Finance[SetUnderlying], Finance[StochasticProcesses], Finance[TreePlot], Finance[TrinomialTree]
|
|
References
|
|
|
Brigo, D., Mercurio, F., Interest Rate Models: Theory and Practice, New York: Springer-Verlag, 2001.
|
|
Glasserman, P., Monte Carlo Methods in Financial Engineering, New York: Springer-Verlag, 2004.
|
|
Hull, J., Options, Futures, and Other Derivatives, 5th. edition. Upper Saddle River, New Jersey: Prentice Hall, 2003.
|
|
|