public class FixedCoupon extends AbstractIndex
executor| Constructor and Description |
|---|
FixedCoupon(double coupon)
Creates a fixed coupon index paying constant coupon.
|
| Modifier and Type | Method and Description |
|---|---|
RandomVariableInterface |
getCoupon()
Returns the coupon.
|
RandomVariableInterface |
getValue(double evaluationTime,
LIBORModelMonteCarloSimulationInterface model)
This method returns the value random variable of the product within the specified model, evaluated at a given evalutationTime.
|
Set<String> |
queryUnderlyings()
Returns a set of underlying names referenced by this product component (i.e., required for valuation) or null if none.
|
String |
toString() |
getNamegetValuesgetFactorDrift, getValue, getValueForModifiedDatagetCurrency, getValue, getValue, getValues, getValues, getValuesForModifiedData, getValuesForModifiedData, getValuesForModifiedData, getValuesForModifiedDatapublic FixedCoupon(double coupon)
coupon - The coupon.public RandomVariableInterface getValue(double evaluationTime, LIBORModelMonteCarloSimulationInterface model)
AbstractLIBORMonteCarloProductgetValue in class AbstractIndexevaluationTime - The time on which this products value should be observed.model - The model used to price the product.public RandomVariableInterface getCoupon()
public Set<String> queryUnderlyings()
AbstractProductComponentqueryUnderlyings in class AbstractProductComponentpublic String toString()
toString in class AbstractMonteCarloProductCopyright © 2017. All rights reserved.