Stock (3) - Linux Manuals

Stock: Simple stock class.

NAME

QuantLib::Stock - Simple stock class.

SYNOPSIS


#include <ql/instruments/stock.hpp>

Inherits QuantLib::Instrument.

Public Member Functions


Stock (const Handle< Quote > &quote)

bool isExpired () const
returns whether the instrument is still tradable.

Protected Member Functions


void performCalculations () const

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.

Author

Generated automatically by Doxygen for QuantLib from the source code.