Class CrossCurrencySwapConventionRecord
- Namespace
- NanoQL.Extensions.Conventions
- Assembly
- NanoQL.Extensions.dll
A cross-currency fixed-against-floating swap's conventions (CrossCurrencySwapConvention), which feed the
constant-notional cross-currency swap helper.
[Experimental("NQL0001")]
public sealed record CrossCurrencySwapConventionRecord : ConventionRecord, IEquatable<ConventionRecord>, IEquatable<CrossCurrencySwapConventionRecord>
- Inheritance
-
CrossCurrencySwapConventionRecord
- Implements
- Inherited Members
Constructors
CrossCurrencySwapConventionRecord(string, string?)
Initializes a new instance of the CrossCurrencySwapConventionRecord class.
public CrossCurrencySwapConventionRecord(string name, string? @base = null)
Parameters
Properties
Calendar
Gets the calendar's name, or null to take the base's.
public string? Calendar { get; init; }
Property Value
CollateralOnFixedLeg
Gets whether the fixed leg's currency is the collateral currency, or null to take the base's.
public bool? CollateralOnFixedLeg { get; init; }
Property Value
- bool?
Convention
Gets the business-day convention, or null to take the base's.
public BusinessDayConvention? Convention { get; init; }
Property Value
EndOfMonth
Gets whether the dates stay at month end, or null to take the base's.
public bool? EndOfMonth { get; init; }
Property Value
- bool?
EqualityContract
protected override Type EqualityContract { get; }
Property Value
FixedDayCounter
Gets the fixed leg's day counter's name, or null to take the base's.
public string? FixedDayCounter { get; init; }
Property Value
FixedFrequency
Gets the fixed leg's frequency, or null to take the base's.
public Frequency? FixedFrequency { get; init; }
Property Value
FixingDays
Gets the fixing days, or null to take the base's.
public int? FixingDays { get; init; }
Property Value
- int?
FloatingIndex
Gets the floating leg's Ibor index's name, or an Ibor family's, or null to take the base's.
public string? FloatingIndex { get; init; }
Property Value
FloatingIndexTenor
Gets the tenor of the Ibor family FloatingIndex names, or null for none: it comes with FloatingIndex, from the record that gives that; none for an index.
public Period? FloatingIndexTenor { get; init; }
Property Value
FloatingPaymentFrequency
Gets the floating leg's payment frequency, or null to take the base's: the index's tenor by default.
public Frequency? FloatingPaymentFrequency { get; init; }
Property Value
IndexedCoupons
Gets whether the floating coupons are indexed rather than par coupons, or null to take the base's: the context's switch by default.
public bool? IndexedCoupons { get; init; }
Property Value
- bool?
PaymentLag
Gets the payment lag, in business days, or null to take the base's.
public int? PaymentLag { get; init; }
Property Value
- int?
Methods
Equals(ConventionRecord?)
public override sealed bool Equals(ConventionRecord? other)
Parameters
otherConventionRecord
Returns
Equals(CrossCurrencySwapConventionRecord?)
public bool Equals(CrossCurrencySwapConventionRecord? other)
Parameters
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected override bool PrintMembers(StringBuilder builder)
Parameters
builderStringBuilder
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(CrossCurrencySwapConventionRecord?, CrossCurrencySwapConventionRecord?)
public static bool operator ==(CrossCurrencySwapConventionRecord? left, CrossCurrencySwapConventionRecord? right)
Parameters
Returns
operator !=(CrossCurrencySwapConventionRecord?, CrossCurrencySwapConventionRecord?)
public static bool operator !=(CrossCurrencySwapConventionRecord? left, CrossCurrencySwapConventionRecord? right)