public class LIBORIndex extends AbstractIndex
| Constructor and Description |
|---|
LIBORIndex(double periodStartOffset,
double periodLength)
Creates a forward rate index for a given period start offset (offset from fixing) and period length.
|
LIBORIndex(String name,
double periodStartOffset,
double periodLength)
Creates a forward rate index for a given period start offset (offset from fixing) and period length.
|
LIBORIndex(String name,
String currency,
String paymentOffsetCode,
BusinessdayCalendar paymentBusinessdayCalendar,
BusinessdayCalendar.DateRollConvention paymentDateRollConvention) |
| Modifier and Type | Method and Description |
|---|---|
double |
getPeriodLength()
Returns the tenor encoded as an pseudo act/365 daycount fraction.
|
double |
getPeriodLength(LIBORModelMonteCarloSimulationModel model,
double fixingTime) |
double |
getPeriodStartOffset()
Returns the periodStartOffset as an act/365 daycount.
|
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.
|
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() |
getNamegetExecutor, getValuesgetFactorDrift, getValue, getValueForModifiedDatagetCurrency, getValue, getValue, getValues, getValues, getValues, getValuesForModifiedData, getValuesForModifiedData, getValuesForModifiedData, getValuesForModifiedDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetCurrency, getValue, getValue, getValues, getValues, getValues, getValuesForModifiedData, getValuesForModifiedData, getValuesForModifiedData, getValuesForModifiedDatapublic LIBORIndex(String name, String currency, String paymentOffsetCode, BusinessdayCalendar paymentBusinessdayCalendar, BusinessdayCalendar.DateRollConvention paymentDateRollConvention)
public LIBORIndex(String name, double periodStartOffset, double periodLength)
name - The name of an index. Used to map an index on a curve.periodStartOffset - An offset added to the fixing to define the period start.periodLength - The period lengthpublic LIBORIndex(double periodStartOffset,
double periodLength)
periodStartOffset - An offset added to the fixing to define the period start.periodLength - The period lengthpublic RandomVariable getValue(double evaluationTime, LIBORModelMonteCarloSimulationModel model) throws CalculationException
TermStructureMonteCarloProductgetValue in interface TermStructureMonteCarloProductgetValue in class AbstractIndexevaluationTime - 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.public double getPeriodStartOffset()
public double getPeriodLength(LIBORModelMonteCarloSimulationModel model, double fixingTime)
public double getPeriodLength()
public Set<String> queryUnderlyings()
AbstractProductComponentqueryUnderlyings in class AbstractProductComponentpublic String toString()
toString in class AbstractMonteCarloProductCopyright © 2019. All rights reserved.