public class NotionalFromComponent extends Object implements AbstractNotional
| Constructor and Description |
|---|
NotionalFromComponent(AbstractProductComponent notional)
Creates a notional which is derived by calling the getValue method on the period start of a given component.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCurrency()
Returns the currency string of this notional.
|
RandomVariable |
getNotionalAtPeriodEnd(AbstractPeriod period,
LIBORModelMonteCarloSimulationModel model)
Calculates the notional at the end of a period, given a period.
|
RandomVariable |
getNotionalAtPeriodStart(AbstractPeriod period,
LIBORModelMonteCarloSimulationModel model)
Calculates the notional at the start of a period, given a period.
|
public NotionalFromComponent(AbstractProductComponent notional)
notional - The component providing the notation.public String getCurrency()
AbstractNotionalgetCurrency in interface AbstractNotionalpublic RandomVariable getNotionalAtPeriodEnd(AbstractPeriod period, LIBORModelMonteCarloSimulationModel model)
AbstractNotionalgetNotionalAtPeriodEnd in interface AbstractNotionalperiod - Period.model - The model against we are evaluation.public RandomVariable getNotionalAtPeriodStart(AbstractPeriod period, LIBORModelMonteCarloSimulationModel model)
AbstractNotionalgetNotionalAtPeriodStart in interface AbstractNotionalperiod - Period.model - The model against we are evaluation.Copyright © 2019. All rights reserved.