Class RatchetMinPayoff
- Namespace
- NanoQL.Instruments
- Assembly
- NanoQL.dll
The ratchet-min payoff, a double option: the double payoff with the types −1 and +1.
public sealed class RatchetMinPayoff : DoubleStickyRatchetPayoff
- Inheritance
-
RatchetMinPayoff
- Inherited Members
Constructors
RatchetMinPayoff(double, double, double, double, double, double, double, double, double)
Initializes a new instance of the RatchetMinPayoff class.
public RatchetMinPayoff(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.