Logo
Reference manual - version qle_version
List of all members
NullInstrument Class Reference

#include <qle/instruments/nullinstrument.hpp>

+ Inheritance diagram for NullInstrument:

Public Member Functions

Instrument interface
bool isExpired () const override
 Always returns true.
 
void performCalculations () const override
 Populate results.
 

Detailed Description

A null instrument that always returns an NPV of 0