QuantLib_Stock man page

Stock — Simple stock class.  


#include <ql/instruments/stock.hpp>

Inherits Instrument.

Public Member Functions

Stock (const Handle< Quote > &quote)
bool isExpired () const
returns whether the instrument might have value greater than zero.

Protected Member Functions

void performCalculations () const

Additional Inherited Members

Detailed Description

Simple stock class.

Member Function Documentation

void performCalculations () const [protected], [virtual]

In case a pricing engine is not used, this method must be overridden to perform the actual calculations and set any needed results. In case a pricing engine is used, the default implementation can be used.

Reimplemented from Instrument.


Generated automatically by Doxygen for QuantLib from the source code.

Referenced By

The man page Stock(3) is an alias of QuantLib_Stock(3).

Mon Apr 30 2018 Version 1.12.1 QuantLib