QuantLib_DoubleStickyRatchetPayoff man page

DoubleStickyRatchetPayoff — Intermediate class for single/double sticky/ratchet payoffs.  

Synopsis

#include <ql/instruments/stickyratchet.hpp>

Inherits Payoff.

Inherited by RatchetMaxPayoff, RatchetMinPayoff, RatchetPayoff, StickyMaxPayoff, StickyMinPayoff, and StickyPayoff.

Public Member Functions

DoubleStickyRatchetPayoff (Real type1, Real type2, Real gearing1, Real gearing2, Real gearing3, Real spread1, Real spread2, Real spread3, Real initialValue1, Real initialValue2, Real accrualFactor)

Payoff interface

std::string name () const
Real operator() (Real forward) const
std::string description () const
virtual void accept (AcyclicVisitor &)

Protected Attributes

Real type1_
Real type2_
Real gearing1_
Real gearing2_
Real gearing3_
Real spread1_
Real spread2_
Real spread3_
Real initialValue1_
Real initialValue2_
Real accrualFactor_

Detailed Description

Intermediate class for single/double sticky/ratchet payoffs.

Member Function Documentation

std::string name () const [virtual]

Warning

This method is used for output and comparison between payoffs. It is not meant to be used for writing switch-on-type code.

Implements Payoff.

Reimplemented in StickyMinPayoff, StickyMaxPayoff, RatchetMinPayoff, RatchetMaxPayoff, StickyPayoff, and RatchetPayoff.

Author

Generated automatically by Doxygen for QuantLib from the source code.

Referenced By

The man pages accrualFactor_(3), DoubleStickyRatchetPayoff(3), gearing1_(3), gearing2_(3), gearing3_(3), initialValue1_(3), initialValue2_(3), spread1_(3), spread2_(3), spread3_(3), type1_(3) and type2_(3) are aliases of QuantLib_DoubleStickyRatchetPayoff(3).

Fri Sep 1 2017 Version 1.10.1 QuantLib