Class CDOResults
- Namespace
- NanoQL.Experimental
- Assembly
- NanoQL.dll
The results of a CDO's calculation, signed by the protection side.
[Experimental("NQL0001")]
public sealed record CDOResults : InstrumentResults, IEquatable<InstrumentResults>, IEquatable<CDOResults>
- Inheritance
-
CDOResults
- Implements
- Inherited Members
Constructors
CDOResults()
public CDOResults()
Properties
EqualityContract
protected override Type EqualityContract { get; }
Property Value
Error
Gets the number of steps at which the expected tranche loss fell.
public int? Error { get; init; }
Property Value
- int?
FairPremium
Gets the running premium at which the two legs are equal.
public double? FairPremium { get; init; }
Property Value
PremiumValue
Gets the premium leg's value.
public double? PremiumValue { get; init; }
Property Value
ProtectionValue
Gets the protection leg's value, negative for the protection seller.
public double? ProtectionValue { get; init; }
Property Value
UpfrontPremiumValue
Gets the upfront premium's value.
public double? UpfrontPremiumValue { get; init; }
Property Value
Methods
Equals(CDOResults?)
public bool Equals(CDOResults? other)
Parameters
otherCDOResults
Returns
Equals(InstrumentResults?)
public override sealed bool Equals(InstrumentResults? other)
Parameters
otherInstrumentResults
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 ==(CDOResults?, CDOResults?)
public static bool operator ==(CDOResults? left, CDOResults? right)
Parameters
leftCDOResultsrightCDOResults
Returns
operator !=(CDOResults?, CDOResults?)
public static bool operator !=(CDOResults? left, CDOResults? right)
Parameters
leftCDOResultsrightCDOResults