public class EuropeanOption extends AbstractFourierTransformProduct
| 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).
|
EuropeanOption(String underlyingName,
double maturity,
double strike) |
| 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.
|
getValue, getValue, getValuespublic EuropeanOption(String underlyingName, double maturity, double strike)
public 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()
FourierTransformProductgetMaturity in interface FourierTransformProductgetMaturity in class AbstractFourierTransformProductpublic double getIntegrationDomainImagLowerBound()
FourierTransformProductgetIntegrationDomainImagLowerBound in interface FourierTransformProductgetIntegrationDomainImagLowerBound in class AbstractFourierTransformProductpublic double getIntegrationDomainImagUpperBound()
FourierTransformProductgetIntegrationDomainImagUpperBound in interface FourierTransformProductgetIntegrationDomainImagUpperBound in class AbstractFourierTransformProductCopyright © 2019. All rights reserved.