Class StickyPayoff
- Namespace
- NanoQL.Instruments
- Assembly
- NanoQL.dll
The sticky payoff, a single option: the double payoff with the first type +1 and no second option.
public sealed class StickyPayoff : DoubleStickyRatchetPayoff
- Inheritance
-
StickyPayoff
- Inherited Members
Constructors
StickyPayoff(double, double, double, double, double, double)
Initializes a new instance of the StickyPayoff class.
public StickyPayoff(double gearing1, double gearing2, double spread1, double spread2, double initialValue, double accrualFactor)
Parameters
gearing1doubleThe strike's gearing.
gearing2doubleThe swaplet's gearing.
spread1doubleThe strike's spread.
spread2doubleThe swaplet's spread.
initialValuedoubleThe 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.