quantlib.quotes.simplequote.

SimpleQuote

class SimpleQuote(Real value=Null[Real]())

Bases: Quote

Market element returning a stored value.

Parameters:
valuefloat, optional

The value of the quote. Defaults to a null value.

Attributes:
is_valid
value

The value of the quote.

Methods

reset(self)

Resets the quote to a null value.