org.jquantlib.model.shortrate.onefactormodels
Class ExtendedCoxIngersollRoss
- java.lang.Object
-
- org.jquantlib.model.CalibratedModel
-
- org.jquantlib.model.shortrate.ShortRateModel
-
- org.jquantlib.model.shortrate.onefactormodels.OneFactorModel
-
- org.jquantlib.model.shortrate.onefactormodels.OneFactorAffineModel
-
- org.jquantlib.model.shortrate.onefactormodels.CoxIngersollRoss
-
- org.jquantlib.model.shortrate.onefactormodels.ExtendedCoxIngersollRoss
-
- All Implemented Interfaces:
- AffineModel, Observable, Observer
public class ExtendedCoxIngersollRoss extends CoxIngersollRoss
Extended Cox-Ingersoll-Ross model class.This class implements the extended Cox-Ingersoll-Ross model defined by
-
-
Constructor Summary
Constructors Constructor and Description ExtendedCoxIngersollRoss(Handle<YieldTermStructure> termStructure, double theta, double k, double sigma, double x0)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description doubleA(double t, double s)doublediscountBondOption(Option.Type type, double strike, double t, double s)org.jquantlib.model.shortrate.onefactormodels.OneFactorModel.ShortRateDynamicsdynamics()Returns the short-rate dynamicsvoidgenerateArguments()Latticetree(TimeGrid grid)Return by default a trinomial recombining tree.-
Methods inherited from class org.jquantlib.model.shortrate.onefactormodels.OneFactorAffineModel
discount, discountBond, discountBond
-
Methods inherited from class org.jquantlib.model.CalibratedModel
addObserver, calibrate, constraint, countObservers, deleteObserver, deleteObservers, endCriteria, getObservers, notifyObservers, notifyObservers, params, setParams, update, value
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jquantlib.util.Observable
addObserver, countObservers, deleteObserver, deleteObservers, getObservers, notifyObservers, notifyObservers
-
-
-
-
Constructor Detail
-
ExtendedCoxIngersollRoss
public ExtendedCoxIngersollRoss(Handle<YieldTermStructure> termStructure, double theta, double k, double sigma, double x0)
-
-
Method Detail
-
dynamics
public org.jquantlib.model.shortrate.onefactormodels.OneFactorModel.ShortRateDynamics dynamics()
Description copied from class:OneFactorModelReturns the short-rate dynamics- Overrides:
dynamicsin classCoxIngersollRoss
-
generateArguments
public void generateArguments()
-
A
public double A(double t, double s)
-
discountBondOption
public double discountBondOption(Option.Type type, double strike, double t, double s)
- Specified by:
discountBondOptionin interfaceAffineModel- Overrides:
discountBondOptionin classCoxIngersollRoss
-
tree
public Lattice tree(TimeGrid grid)
Description copied from class:OneFactorModelReturn by default a trinomial recombining tree.- Overrides:
treein classCoxIngersollRoss
-
-
DataMelt 3.0 © DataMelt by jWork.ORG