|
WebCab Bonds Demo (J2EE Edition) |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Local interface of ForwardRates. This interface provides the same functionality as the ForwardRates remote interface.
ForwardRates| Method Summary | |
double |
forwardRate(double firstZeroRate,
double secondZeroRate,
Date evaluationDate,
Date firstMaturityDate,
Date secondMaturityDate,
BusinessCalendar businessCalendar)
Method forwardRate(double, double, java.util.Date, java.util.Date, java.util.Date, webcab.lib.calendar.BusinessCalendar) as defined in the ForwardRates remote interface. |
double |
forwardRate(double firstZeroRate,
double secondZeroRate,
double firstMaturity,
double secondMaturity)
Method forwardRate(double, double, double, double) as defined in the ForwardRates remote interface. |
double |
forwardRateAgreement(double principleSum,
double agreedRate,
Date evaluationDate,
Date firstMaturityDate,
Date secondMaturityDate,
double forwardRate,
double zeroRate,
BusinessCalendar businessCalendar)
Method forwardRateAgreement(double, double, java.util.Date, java.util.Date, java.util.Date, double, double, webcab.lib.calendar.BusinessCalendar) as defined in the ForwardRates remote interface. |
double |
forwardRateAgreement(double principleSum,
double agreedRate,
double firstMaturity,
double secondMaturity,
double forwardRate,
double zeroRate)
Method forwardRateAgreement(double, double, double, double, double, double) as defined in the ForwardRates remote interface. |
double |
settlement(double principalSum,
double agreedRate,
Date settlementDate,
Date firstMaturityDate,
Date secondMaturityDate,
double forwardRate,
BusinessCalendar businessCalendar)
Method settlement(double, double, java.util.Date, java.util.Date, java.util.Date, double, webcab.lib.calendar.BusinessCalendar) as defined in the ForwardRates remote interface. |
double |
settlement(double principalSum,
double agreedRate,
double firstMaturity,
double secondMaturity,
double forwardRate)
Method settlement(double, double, double, double, double) as defined in the ForwardRates remote interface. |
| Methods inherited from interface javax.ejb.EJBLocalObject |
getEJBLocalHome, getPrimaryKey, isIdentical, remove |
| Method Detail |
public double forwardRate(double firstZeroRate,
double secondZeroRate,
Date evaluationDate,
Date firstMaturityDate,
Date secondMaturityDate,
BusinessCalendar businessCalendar)
throws ForwardRatesDemoException
Description copied from the ForwardRates interface:
Calculates the forward rate for a period of time between the `firstMaturity' and the `secondMaturity' when the continuously compounded zero rates for the `firstMaturity' and `secondMaturity' are known.
firstZeroRate - the first of the two zero ratessecondZeroRate - the second of the zero ratesevaluationDate - the date when the forward rate is evaluatedfirstMaturityDate - the date of the maturity of the first zero ratesecondMaturityDate - the date of the maturity of the second zero ratebusinessCalendar - The instance of a BusinessCalendar interface implementation. Specify null to select the London business calendar.
ForwardRatesDemoExceptionForwardRates.forwardRate(double, double, java.util.Date, java.util.Date, java.util.Date, webcab.lib.calendar.BusinessCalendar)
public double forwardRate(double firstZeroRate,
double secondZeroRate,
double firstMaturity,
double secondMaturity)
throws ForwardRatesDemoException
Description copied from the ForwardRates interface:
Calculates the forward rate for a period of time between the `firstMaturity' and the `secondMaturity' when the continuously compounded zero rates for the `firstMaturity' and `secondMaturity' are known.
firstZeroRate - the first of the two zero ratessecondZeroRate - the second of the zero ratesfirstMaturity - the number of years expressed in decimal format of the maturity of the `firstZeroRate'secondMaturity - the number of years expressed in decimal format of the maturity of the `secondZeroRate'
ForwardRatesDemoExceptionForwardRates.forwardRate(double, double, double, double)
public double forwardRateAgreement(double principleSum,
double agreedRate,
Date evaluationDate,
Date firstMaturityDate,
Date secondMaturityDate,
double forwardRate,
double zeroRate,
BusinessCalendar businessCalendar)
throws ForwardRatesDemoException
Description copied from the ForwardRates interface:
Calculates the value of the forward rate agreement (FRA) for a holder which pays an interest rate `agreedRate' within the period between `firstMaturity' and `secondMaturity' on a principle sum `principle'.
Remarks
principleSum - the principle sum which changes hands in the FRAagreedRate - the rate of interest payment (in decimal format, i.e. 1 percent = 0.01) agreed within the period `firstMaturity' and `secondMaturity'. Note that this interest rate is expressed with respect to the compounding period `(firstMaturity - secondMaturity)'forwardRate - the forward rate for the period between `firstMaturity' and `secondMaturity'. Note that this interest rate is expressed with respect to the compounding period `(firstMaturity - secondMaturity)'zeroRate - the continuously compounded zero-coupon interest rate for the maturity `secondMaturity'evaluationDate - the date when the FRA is evaluated.firstMaturityDate - the date when the FRA begins.secondMaturityDate - the date when the FRA ends.businessCalendar - The instance of a BusinessCalendar interface implementation. Specify null to select the London business calendar.
ForwardRatesDemoExceptionForwardRates.forwardRateAgreement(double, double, java.util.Date, java.util.Date, java.util.Date, double, double, webcab.lib.calendar.BusinessCalendar)
public double forwardRateAgreement(double principleSum,
double agreedRate,
double firstMaturity,
double secondMaturity,
double forwardRate,
double zeroRate)
throws ForwardRatesDemoException
Description copied from the ForwardRates interface:
Calculates the value of the forward rate agreement (FRA) for a holder which pays an interest rate `agreedRate' within the period between `firstMaturity' and `secondMaturity' on a principle sum `principle'.
Remarks
principleSum - the principle sum which changes hands in the FRAagreedRate - the rate of interest payment (in decimal format, i.e. 1 percent = 0.01) agreed within the period `firstMaturity' and `secondMaturity'. Note that this interest rate is expressed with respect to the compounding period `(firstMaturity - secondMaturity)'firstMaturity - the time in years (in decimal format) at which the FRA beginssecondMaturity - the time in years (in decimal format) at which the FRA expiresforwardRate - the forward rate for the period between `firstMaturity' and `secondMaturity'. Note that this interest rate is expressed with respect to the compounding period `(firstMaturity - secondMaturity)'zeroRate - the continuously compounded zero-coupon interest rate for the maturity `secondMaturity'
ForwardRatesDemoExceptionForwardRates.forwardRateAgreement(double, double, double, double, double, double)
public double settlement(double principalSum,
double agreedRate,
Date settlementDate,
Date firstMaturityDate,
Date secondMaturityDate,
double forwardRate,
BusinessCalendar businessCalendar)
throws ForwardRatesDemoException
Description copied from the ForwardRates interface:
Evaluates the cash settlement (or equivalently, the present value of the cash flows) of a forward rate agreement at the point when the interest period starts (which is generally when the FRA will be settled in cash).
agreedRate - the rate of interest payment (in decimal format, i.e. 1% = 0.01) agreed within the period `firstMaturity' and `secondMaturity'. Note that this interest rate is expressed with respect to the compounding period `(firstMaturity - secondMaturity)'forwardRate - the forward rate for the period between `firstMaturity' and `secondMaturity'. Note that this interest rate is expressed with respect to the compounding period `(firstMaturity - secondMaturity)'settlementDate - the date when the FRA is settled.firstMaturityDate - the date when the FRA begins.secondMaturityDate - the date when the FRA ends.businessCalendar - The instance of a BusinessCalendar interface implementation. Specify null to select the London business calendar.
ForwardRatesDemoExceptionForwardRates.settlement(double, double, java.util.Date, java.util.Date, java.util.Date, double, webcab.lib.calendar.BusinessCalendar)
public double settlement(double principalSum,
double agreedRate,
double firstMaturity,
double secondMaturity,
double forwardRate)
throws ForwardRatesDemoException
Description copied from the ForwardRates interface:
Evaluates the cash settlement (or equivalently, the present value of the cash flows) of a forward rate agreement at the point when the interest period starts (which is generally when the FRA will be settled in cash).
agreedRate - the rate of interest payment (in decimal format, i.e. 1% = 0.01) agreed within the period `firstMaturity' and `secondMaturity'. Note that this interest rate is expressed with respect to the compounding period `(firstMaturity - secondMaturity)'firstMaturity - the time in years (in decimal format) at which the FRA beginssecondMaturity - the time in years (in decimal format) at which the FRA expiresforwardRate - the forward rate for the period between `firstMaturity' and `secondMaturity'. Note that this interest rate is expressed with respect to the compounding period `(firstMaturity - secondMaturity)'
ForwardRatesDemoExceptionForwardRates.settlement(double, double, double, double, double)
|
WebCab Bonds Demo (J2EE Edition) |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||