public class MoneyMarketAccount extends AbstractLIBORMonteCarloProduct
| Constructor and Description |
|---|
MoneyMarketAccount()
Create a default money market account.
|
MoneyMarketAccount(double inceptionTime,
double accrualPeriod)
Create a money market account.
|
MoneyMarketAccount(double inceptionTime,
double initialValue,
double accrualPeriod)
Create a money market account.
|
| Modifier and Type | Method and Description |
|---|---|
RandomVariable |
getValue(double evaluationTime,
LIBORModelMonteCarloSimulationModel model)
This method returns the value random variable of the product within the specified model, evaluated at a given evalutationTime.
|
getFactorDrift, getValue, getValueForModifiedData, getValuesgetCurrency, getValue, getValue, getValues, getValues, getValues, getValuesForModifiedData, getValuesForModifiedData, getValuesForModifiedData, getValuesForModifiedData, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetCurrency, getValue, getValue, getValues, getValues, getValues, getValuesForModifiedData, getValuesForModifiedData, getValuesForModifiedData, getValuesForModifiedDatapublic MoneyMarketAccount(double inceptionTime,
double initialValue,
double accrualPeriod)
inceptionTime - The inception time. The value of the account at inception is 1.0. The value of the account prior to inception is zero.initialValue - The initial value, i.e., the value at inception time.accrualPeriod - The accrual period. If this period is < 0, then the finest model LIBOR period discretization is usedpublic MoneyMarketAccount(double inceptionTime,
double accrualPeriod)
inceptionTime - The inception time. The value of the account at inception is 1.0. The value of the account prior to inception is zero.accrualPeriod - The accrual period. If this period is < 0, then the finest model LIBOR period discretization is usedpublic MoneyMarketAccount()
public RandomVariable getValue(double evaluationTime, LIBORModelMonteCarloSimulationModel model) throws CalculationException
TermStructureMonteCarloProductgetValue in interface TermStructureMonteCarloProductgetValue in class AbstractLIBORMonteCarloProductevaluationTime - The time on which this products value should be observed.model - The model used to price the product.CalculationException - Thrown if the valuation fails, specific cause may be available via the cause() method.Copyright © 2019. All rights reserved.