public class ShortRateUpdate extends LSQMPointUpdate
Modifier and Type | Method and Description |
---|---|
static ShortRateUpdate |
Create(FundingLabel lslFunding,
int iInitialDate,
int iFinalDate,
int iTargetPointDate,
double dblInitialShortRate,
double dblRealizedFinalShortRate,
double dblExpectedFinalShortRate,
double dblFinalShortRateVariance,
double dblZeroCouponBondPrice)
Construct an Instance of ShortRateUpdate
|
double |
expectedFinalShortRate()
Retrieve the Expected Final Short Rate
|
double |
finalShortRateVariance()
Retrieve the Final Short Rate Variance
|
double |
initialShortRate()
Retrieve the Initial Short Rate
|
double |
realizedFinalShortRate()
Retrieve the Realized Final Short Rate
|
double |
shortRateIncrement()
Retrieve the Short Rate Increment
|
double |
zeroCouponBondPrice(double dblFinalInitialZeroRatio)
Compute the Zero Coupon Bond Price
|
evolutionFinishDate, evolutionStartDate, increment, snapshot, viewDate
public static final ShortRateUpdate Create(FundingLabel lslFunding, int iInitialDate, int iFinalDate, int iTargetPointDate, double dblInitialShortRate, double dblRealizedFinalShortRate, double dblExpectedFinalShortRate, double dblFinalShortRateVariance, double dblZeroCouponBondPrice) throws java.lang.Exception
lslFunding
- The Funding Latent State LabeliInitialDate
- The Initial DateiFinalDate
- The Final DateiTargetPointDate
- The Target Point DatedblInitialShortRate
- The Initial Short RatedblRealizedFinalShortRate
- The Realized Final Short RatedblExpectedFinalShortRate
- The Expected Final Short RatedblFinalShortRateVariance
- The Final Variance of the Short RatedblZeroCouponBondPrice
- The Zero Coupon Bond Pricejava.lang.Exception
- Thrown if the Inputs are Invalidpublic double initialShortRate() throws java.lang.Exception
java.lang.Exception
- Thrown if the Initial Short Rate is not availablepublic double realizedFinalShortRate() throws java.lang.Exception
java.lang.Exception
- Thrown if the Realized Final Short Rate is not availablepublic double shortRateIncrement() throws java.lang.Exception
java.lang.Exception
- Thrown if the Short Rate Increment is not availablepublic double expectedFinalShortRate()
public double finalShortRateVariance()
public double zeroCouponBondPrice(double dblFinalInitialZeroRatio) throws java.lang.Exception
dblFinalInitialZeroRatio
- The Final-to-Initial Zero-Coupon Bond Price Ratiojava.lang.Exception
- Thrown if the Zero Coupon Bond Price cannot be computed