public class EuropeanOption extends AbstractProductFourierTransform
| Constructor and Description |
|---|
EuropeanOption(double maturity,
double strike)
Construct a product representing an European option on an asset S (where S the asset with index 0 from the model - single asset case).
|
| Modifier and Type | Method and Description |
|---|---|
Complex |
apply(Complex argument) |
double |
getIntegrationDomainImagLowerBound()
Return the lower bound of the imaginary part of the domain where
the characteristic function can be integrated.
|
double |
getIntegrationDomainImagUpperBound()
Return the upper bound of the imaginary part of the domain where
the characteristic function can be integrated.
|
double |
getMaturity()
Return the maturity of the associated payoff.
|
getValuepublic EuropeanOption(double maturity,
double strike)
maturity - The maturity T in the option payoff max(S(T)-K,0)strike - The strike K in the option payoff max(S(T)-K,0).public double getMaturity()
AbstractProductFourierTransformgetMaturity in class AbstractProductFourierTransformpublic double getIntegrationDomainImagLowerBound()
AbstractProductFourierTransformgetIntegrationDomainImagLowerBound in class AbstractProductFourierTransformpublic double getIntegrationDomainImagUpperBound()
AbstractProductFourierTransformgetIntegrationDomainImagUpperBound in class AbstractProductFourierTransformCopyright © 2017. All rights reserved.