- java.lang.Object
-
- org.quantlib.Observable
-
- org.quantlib.LazyObject
-
- org.quantlib.Instrument
-
- org.quantlib.Option
-
- org.quantlib.OneAssetOption
-
- org.quantlib.DividendVanillaOption
-
- All Implemented Interfaces:
AutoCloseable,org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
public class DividendVanillaOption extends OneAssetOption implements org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.quantlib.Option
Option.Type
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDividendVanillaOption(long cPtr, boolean cMemoryOwn)DividendVanillaOption(StrikedTypePayoff payoff, Exercise exercise, DateVector dividendDates, DoubleVector dividends)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete()protected voidfinalize()protected static longgetCPtr(DividendVanillaOption obj)doubleimpliedVolatility(double targetValue, GeneralizedBlackScholesProcess process)doubleimpliedVolatility(double targetValue, GeneralizedBlackScholesProcess process, double accuracy)doubleimpliedVolatility(double targetValue, GeneralizedBlackScholesProcess process, double accuracy, long maxEvaluations)doubleimpliedVolatility(double targetValue, GeneralizedBlackScholesProcess process, double accuracy, long maxEvaluations, double minVol)doubleimpliedVolatility(double targetValue, GeneralizedBlackScholesProcess process, double accuracy, long maxEvaluations, double minVol, double maxVol)protected voidswigSetCMemOwn(boolean own)-
Methods inherited from class org.quantlib.OneAssetOption
delta, deltaForward, dividendRho, elasticity, gamma, getCPtr, itmCashProbability, rho, strikeSensitivity, theta, thetaPerDay, vega
-
Methods inherited from class org.quantlib.Instrument
errorEstimate, getCPtr, isExpired, NPV, setPricingEngine
-
Methods inherited from class org.quantlib.LazyObject
alwaysForwardNotifications, forwardFirstNotificationOnly, forwardsAllNotifications, freeze, getCPtr, recalculate, unfreeze
-
Methods inherited from class org.quantlib.Observable
getCPtr
-
-
-
-
Constructor Detail
-
DividendVanillaOption
protected DividendVanillaOption(long cPtr, boolean cMemoryOwn)
-
DividendVanillaOption
public DividendVanillaOption(StrikedTypePayoff payoff, Exercise exercise, DateVector dividendDates, DoubleVector dividends)
-
-
Method Detail
-
getCPtr
protected static long getCPtr(DividendVanillaOption obj)
-
swigSetCMemOwn
protected void swigSetCMemOwn(boolean own)
- Overrides:
swigSetCMemOwnin classOneAssetOption
-
finalize
protected void finalize()
- Overrides:
finalizein classOneAssetOption
-
delete
public void delete()
- Specified by:
deletein interfaceorg.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable- Overrides:
deletein classOneAssetOption
-
impliedVolatility
public double impliedVolatility(double targetValue, GeneralizedBlackScholesProcess process, double accuracy, long maxEvaluations, double minVol, double maxVol)
-
impliedVolatility
public double impliedVolatility(double targetValue, GeneralizedBlackScholesProcess process, double accuracy, long maxEvaluations, double minVol)
-
impliedVolatility
public double impliedVolatility(double targetValue, GeneralizedBlackScholesProcess process, double accuracy, long maxEvaluations)
-
impliedVolatility
public double impliedVolatility(double targetValue, GeneralizedBlackScholesProcess process, double accuracy)
-
impliedVolatility
public double impliedVolatility(double targetValue, GeneralizedBlackScholesProcess process)
-
-