Class AdditiveEQPBinomialTree
The additive equal-probabilities binomial tree: equal probabilities, the up move matching the step's first two moments with the drift.
public sealed class AdditiveEQPBinomialTree : EqualProbabilitiesBinomialTree<AdditiveEQPBinomialTree>, IBinomialTree<AdditiveEQPBinomialTree>
- Inheritance
-
AdditiveEQPBinomialTree
- Implements
- Inherited Members
Remarks
Immutable.
Constructors
AdditiveEQPBinomialTree(StochasticProcess1D, double, int, double)
Initializes a new instance of the AdditiveEQPBinomialTree class.
public AdditiveEQPBinomialTree(StochasticProcess1D process, double end, int steps, double strike)
Parameters
processStochasticProcess1DThe process, read at time 0.
enddoubleThe tree's last time.
stepsintThe number of steps.
strikedoubleNot read.
Exceptions
- ArgumentNullException
processis null.- ArgumentOutOfRangeException
stepsis negative.- NanoQLException
The drift per step is too large for the step's variance.
Explicit Interface Implementations
Create(StochasticProcess1D, double, int, double)
Builds the tree of a process from time 0 to end.
static AdditiveEQPBinomialTree Create(StochasticProcess1D process, double end, int steps, double strike)
Parameters
processStochasticProcess1DThe process.
enddoubleThe tree's last time.
stepsintThe number of steps asked for; a tree may build on another (its Columns less one).
strikedoubleThe strike, which some trees center on.
Returns
- AdditiveEQPBinomialTree
The tree.