Class SwaptionDefaults
- Namespace
- NanoQL.Instruments
- Assembly
- NanoQL.dll
The defaults MakeSwaption takes for an option it isn't given, which ResolveSwaptionDefaults(Func<SwaptionDefaults>) returns: QuantLib's. The exercise calendar and the underlying swap are the swap index's, so they aren't defaults.
public sealed record SwaptionDefaults : IEquatable<SwaptionDefaults>
- Inheritance
-
SwaptionDefaults
- Implements
- Inherited Members
Constructors
SwaptionDefaults(SettlementType, SettlementMethod, BusinessDayConvention)
The defaults MakeSwaption takes for an option it isn't given, which ResolveSwaptionDefaults(Func<SwaptionDefaults>) returns: QuantLib's. The exercise calendar and the underlying swap are the swap index's, so they aren't defaults.
public SwaptionDefaults(SettlementType SettlementType, SettlementMethod SettlementMethod, BusinessDayConvention OptionConvention)
Parameters
SettlementTypeSettlementTypeThe settlement type.
SettlementMethodSettlementMethodThe settlement method.
OptionConventionBusinessDayConventionThe business-day convention the option tenor is advanced by.
Properties
OptionConvention
The business-day convention the option tenor is advanced by.
public BusinessDayConvention OptionConvention { get; init; }
Property Value
SettlementMethod
The settlement method.
public SettlementMethod SettlementMethod { get; init; }
Property Value
SettlementType
The settlement type.
public SettlementType SettlementType { get; init; }
Property Value
Methods
Deconstruct(out SettlementType, out SettlementMethod, out BusinessDayConvention)
public void Deconstruct(out SettlementType SettlementType, out SettlementMethod SettlementMethod, out BusinessDayConvention OptionConvention)
Parameters
SettlementTypeSettlementTypeSettlementMethodSettlementMethodOptionConventionBusinessDayConvention
Equals(SwaptionDefaults?)
public bool Equals(SwaptionDefaults? other)
Parameters
otherSwaptionDefaults
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(SwaptionDefaults?, SwaptionDefaults?)
public static bool operator ==(SwaptionDefaults? left, SwaptionDefaults? right)
Parameters
leftSwaptionDefaultsrightSwaptionDefaults
Returns
operator !=(SwaptionDefaults?, SwaptionDefaults?)
public static bool operator !=(SwaptionDefaults? left, SwaptionDefaults? right)
Parameters
leftSwaptionDefaultsrightSwaptionDefaults