Class ForwardValueQuote
The forward value of an index: its fixing at a date, QuantLib's ForwardValueQuote.
public sealed class ForwardValueQuote
- Inheritance
-
ForwardValueQuote
- Inherited Members
Remarks
Immutable: its value is the index's fixing under the context, computed once at construction (§2.2's quote row).
QuantLib's quote reads the index whenever it is asked; here a new curve or evaluation date is a new quote.
QuantLib's isValid isn't ported: a fixing the index can't give is refused at construction.
Constructors
ForwardValueQuote(FinancialIndex, Date, EvaluationContext)
Initializes a new instance of the ForwardValueQuote class.
public ForwardValueQuote(FinancialIndex index, Date fixingDate, EvaluationContext context)
Parameters
indexFinancialIndexThe index.
fixingDateDateThe fixing date.
contextEvaluationContextThe evaluation context.
Exceptions
- ArgumentNullException
indexorcontextis null.- ArgumentException
fixingDateisdefault(Date)or isn't a valid fixing date.- NanoQLException
The index can't give the fixing.
Properties
Value
Gets the value: the index's fixing at the date.
public double Value { get; }