Class StickyMaxPayoff
- Namespace
- NanoQL.Instruments
- Assembly
- NanoQL.dll
The sticky-max payoff, a double option: the double payoff with the types +1 and −1.
public sealed class StickyMaxPayoff : DoubleStickyRatchetPayoff
- Inheritance
-
StickyMaxPayoff
- Inherited Members
Constructors
StickyMaxPayoff(double, double, double, double, double, double, double, double, double)
Initializes a new instance of the StickyMaxPayoff class.
public StickyMaxPayoff(double gearing1, double gearing2, double gearing3, double spread1, double spread2, double spread3, double initialValue1, double initialValue2, double accrualFactor)
Parameters
gearing1doubleThe first strike's gearing.
gearing2doubleThe second strike's gearing.
gearing3doubleThe swaplet's gearing.
spread1doubleThe first strike's spread.
spread2doubleThe second strike's spread.
spread3doubleThe swaplet's spread.
initialValue1doubleThe first strike's initial value.
initialValue2doubleThe second strike's initial value.
accrualFactordoubleThe accrual factor.
Properties
Name
Gets the payoff's name.
public override string Name { get; }
Property Value
Remarks
Used for output and comparison between payoffs. It is not meant to be used for writing switch-on-type code.