QuantLib_SimpleQuote man page

SimpleQuote — market element returning a stored value  


#include <ql/quotes/simplequote.hpp>

Inherits Quote.

Public Member Functions

SimpleQuote (Real value=Null< Real >())

Quote interface

Real value () const
returns the current value
bool isValid () const
returns true if the Quote holds a valid value


Real setValue (Real value=Null< Real >())
returns the difference between the new value and the old value
void reset ()

Detailed Description

market element returning a stored value

Examples: BermudanSwaption.cpp, Bonds.cpp, CallableBonds.cpp, CDS.cpp, ConvertibleBonds.cpp, DiscreteHedging.cpp, EquityOption.cpp, FittedBondCurve.cpp, FRA.cpp, Replication.cpp, and swapvaluation.cpp.


Generated automatically by Doxygen for QuantLib from the source code.

Referenced By

The man page SimpleQuote(3) is an alias of QuantLib_SimpleQuote(3).

Mon Apr 30 2018 Version 1.12.1 QuantLib