- java.lang.Object
-
- org.quantlib.Observable
-
- org.quantlib.LazyObject
-
- org.quantlib.Instrument
-
- org.quantlib.Bond
-
- org.quantlib.CallableBond
-
- All Implemented Interfaces:
AutoCloseable,org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
- Direct Known Subclasses:
CallableFixedRateBond,CallableZeroCouponBond
public class CallableBond extends Bond implements org.quantlib.helpers.QuantLibJNIHelpers.AutoCloseable
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedCallableBond(long cPtr, boolean cMemoryOwn)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CallabilitySchedulecallability()doublecleanPriceOAS(double oas, YieldTermStructureHandle engineTS, DayCounter dayCounter, Compounding compounding, Frequency frequency)doublecleanPriceOAS(double oas, YieldTermStructureHandle engineTS, DayCounter dayCounter, Compounding compounding, Frequency frequency, Date settlementDate)voiddelete()doubleeffectiveConvexity(double oas, YieldTermStructureHandle engineTS, DayCounter dayCounter, Compounding compounding, Frequency frequency)doubleeffectiveConvexity(double oas, YieldTermStructureHandle engineTS, DayCounter dayCounter, Compounding compounding, Frequency frequency, double bump)doubleeffectiveDuration(double oas, YieldTermStructureHandle engineTS, DayCounter dayCounter, Compounding compounding, Frequency frequency)doubleeffectiveDuration(double oas, YieldTermStructureHandle engineTS, DayCounter dayCounter, Compounding compounding, Frequency frequency, double bump)protected voidfinalize()protected static longgetCPtr(CallableBond obj)doubleimpliedVolatility(double targetValue, YieldTermStructureHandle discountCurve, double accuracy, long maxEvaluations, double minVol, double maxVol)doubleimpliedVolatility(BondPrice targetPrice, YieldTermStructureHandle discountCurve, double accuracy, long maxEvaluations, double minVol, double maxVol)doubleOAS(double cleanPrice, YieldTermStructureHandle engineTS, DayCounter dc, Compounding compounding, Frequency freq)doubleOAS(double cleanPrice, YieldTermStructureHandle engineTS, DayCounter dc, Compounding compounding, Frequency freq, Date settlementDate)doubleOAS(double cleanPrice, YieldTermStructureHandle engineTS, DayCounter dc, Compounding compounding, Frequency freq, Date settlementDate, double accuracy)doubleOAS(double cleanPrice, YieldTermStructureHandle engineTS, DayCounter dc, Compounding compounding, Frequency freq, Date settlementDate, double accuracy, long maxIterations)doubleOAS(double cleanPrice, YieldTermStructureHandle engineTS, DayCounter dc, Compounding compounding, Frequency freq, Date settlementDate, double accuracy, long maxIterations, double guess)protected voidswigSetCMemOwn(boolean own)-
Methods inherited from class org.quantlib.Bond
accruedAmount, accruedAmount, calendar, cashflows, cleanPrice, cleanPrice, cleanPrice, dirtyPrice, dirtyPrice, dirtyPrice, getCPtr, issueDate, maturityDate, nextCouponRate, nextCouponRate, notional, notional, notionals, previousCouponRate, previousCouponRate, redemption, redemptions, settlementDate, settlementDate, settlementDays, settlementValue, settlementValue, startDate, yield, yield, yield, yield, yield, yield, yield
-
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
-
CallableBond
protected CallableBond(long cPtr, boolean cMemoryOwn)
-
-
Method Detail
-
getCPtr
protected static long getCPtr(CallableBond obj)
-
swigSetCMemOwn
protected void swigSetCMemOwn(boolean own)
- Overrides:
swigSetCMemOwnin classBond
-
delete
public void delete()
-
callability
public CallabilitySchedule callability()
-
impliedVolatility
public double impliedVolatility(BondPrice targetPrice, YieldTermStructureHandle discountCurve, double accuracy, long maxEvaluations, double minVol, double maxVol)
-
impliedVolatility
public double impliedVolatility(double targetValue, YieldTermStructureHandle discountCurve, double accuracy, long maxEvaluations, double minVol, double maxVol)
-
OAS
public double OAS(double cleanPrice, YieldTermStructureHandle engineTS, DayCounter dc, Compounding compounding, Frequency freq, Date settlementDate, double accuracy, long maxIterations, double guess)
-
OAS
public double OAS(double cleanPrice, YieldTermStructureHandle engineTS, DayCounter dc, Compounding compounding, Frequency freq, Date settlementDate, double accuracy, long maxIterations)
-
OAS
public double OAS(double cleanPrice, YieldTermStructureHandle engineTS, DayCounter dc, Compounding compounding, Frequency freq, Date settlementDate, double accuracy)
-
OAS
public double OAS(double cleanPrice, YieldTermStructureHandle engineTS, DayCounter dc, Compounding compounding, Frequency freq, Date settlementDate)
-
OAS
public double OAS(double cleanPrice, YieldTermStructureHandle engineTS, DayCounter dc, Compounding compounding, Frequency freq)
-
cleanPriceOAS
public double cleanPriceOAS(double oas, YieldTermStructureHandle engineTS, DayCounter dayCounter, Compounding compounding, Frequency frequency, Date settlementDate)
-
cleanPriceOAS
public double cleanPriceOAS(double oas, YieldTermStructureHandle engineTS, DayCounter dayCounter, Compounding compounding, Frequency frequency)
-
effectiveDuration
public double effectiveDuration(double oas, YieldTermStructureHandle engineTS, DayCounter dayCounter, Compounding compounding, Frequency frequency, double bump)
-
effectiveDuration
public double effectiveDuration(double oas, YieldTermStructureHandle engineTS, DayCounter dayCounter, Compounding compounding, Frequency frequency)
-
effectiveConvexity
public double effectiveConvexity(double oas, YieldTermStructureHandle engineTS, DayCounter dayCounter, Compounding compounding, Frequency frequency, double bump)
-
effectiveConvexity
public double effectiveConvexity(double oas, YieldTermStructureHandle engineTS, DayCounter dayCounter, Compounding compounding, Frequency frequency)
-
-