LUSID C# SDK
|
The compounding settings used on interest rate. More...
Public Member Functions | |
Compounding (string averagingMethod=default(string), string calculationShiftMethod=default(string), string compoundingMethod=default(string), string resetFrequency=default(string), int shift=default(int), string spreadCompoundingMethod=default(string)) | |
Initializes a new instance of the Compounding class. More... | |
override string | ToString () |
Returns the string presentation of the object More... | |
virtual string | ToJson () |
Returns the JSON string presentation of the object More... | |
override bool | Equals (object input) |
Returns true if objects are equal More... | |
bool | Equals (Compounding input) |
Returns true if Compounding instances are equal More... | |
override int | GetHashCode () |
Gets the hash code More... | |
Protected Member Functions | |
Compounding () | |
Initializes a new instance of the Compounding class. More... | |
Properties | |
string | AveragingMethod [get, set] |
Defines whether a weighted or unweighted average is used when calculating the average rate. It applies only when CompoundingMethod = ‘Averaging‘. Supported string (enumeration) values are: [Unweighted, Weighted]. More... | |
string | CalculationShiftMethod [get, set] |
Defines which resets and day counts are used for the rate calculation Supported string (enumeration) values are: [Lookback, NoShift, ObservationPeriodShift, Lockout]. More... | |
string | CompoundingMethod [get, set] |
If the interest rate is simple, compounded or using a pre-computed compounded index. Supported string (enumeration) values are: [Averaging, Compounding, CompoundedIndex]. More... | |
string | ResetFrequency [get, set] |
The interest payment frequency. More... | |
int | Shift [get, set] |
Defines the number of days to lockout or shift observation period by - should be a non-negative integer More... | |
string | SpreadCompoundingMethod [get, set] |
Defines how the computed leg spread is applied to compounded rate. It applies only when CompoundingMethod = ‘Compounding‘ or ‘CompoundedIndex‘. Available compounding methods: | Method | Description | | - – – - | - – – – – – | | Straight | Compounding rate in each compound period includes the spread. | | Flat | Compounding rate does not include the spread, and the spread is used for simple interest in each compound period. | | SpreadExclusive | Compounding rate does not include the spread, and the spread is used for simple interest for whole accrual period. | The values "IsdaCompounding", "NoCompounding", "IsdaFlatCompounding", and "None" are accepted for compatibility with existing instruments and their use is discouraged. Supported string (enumeration) values are: [Straight, IsdaCompounding, NoCompounding, SpreadExclusive, IsdaFlatCompounding, Flat, None]. More... | |
The compounding settings used on interest rate.
|
inlineprotected |
Initializes a new instance of the Compounding class.
|
inline |
Initializes a new instance of the Compounding class.
averagingMethod | Defines whether a weighted or unweighted average is used when calculating the average rate. It applies only when CompoundingMethod = ‘Averaging‘. Supported string (enumeration) values are: [Unweighted, Weighted].. |
calculationShiftMethod | Defines which resets and day counts are used for the rate calculation Supported string (enumeration) values are: [Lookback, NoShift, ObservationPeriodShift, Lockout].. |
compoundingMethod | If the interest rate is simple, compounded or using a pre-computed compounded index. Supported string (enumeration) values are: [Averaging, Compounding, CompoundedIndex]. (required). |
resetFrequency | The interest payment frequency. (required). |
shift | Defines the number of days to lockout or shift observation period by - should be a non-negative integer. |
spreadCompoundingMethod | Defines how the computed leg spread is applied to compounded rate. It applies only when CompoundingMethod = ‘Compounding‘ or ‘CompoundedIndex‘. Available compounding methods: | Method | Description | | - – – - | - – – – – – | | Straight | Compounding rate in each compound period includes the spread. | | Flat | Compounding rate does not include the spread, and the spread is used for simple interest in each compound period. | | SpreadExclusive | Compounding rate does not include the spread, and the spread is used for simple interest for whole accrual period. | The values "IsdaCompounding", "NoCompounding", "IsdaFlatCompounding", and "None" are accepted for compatibility with existing instruments and their use is discouraged. Supported string (enumeration) values are: [Straight, IsdaCompounding, NoCompounding, SpreadExclusive, IsdaFlatCompounding, Flat, None].. |
|
inline |
Returns true if Compounding instances are equal
input | Instance of Compounding to be compared |
|
inline |
Returns true if objects are equal
input | Object to be compared |
|
inline |
Gets the hash code
|
inlinevirtual |
Returns the JSON string presentation of the object
|
inline |
Returns the string presentation of the object
|
getset |
Defines whether a weighted or unweighted average is used when calculating the average rate. It applies only when CompoundingMethod = ‘Averaging‘. Supported string (enumeration) values are: [Unweighted, Weighted].
Defines whether a weighted or unweighted average is used when calculating the average rate. It applies only when CompoundingMethod = ‘Averaging‘. Supported string (enumeration) values are: [Unweighted, Weighted].
|
getset |
Defines which resets and day counts are used for the rate calculation Supported string (enumeration) values are: [Lookback, NoShift, ObservationPeriodShift, Lockout].
Defines which resets and day counts are used for the rate calculation Supported string (enumeration) values are: [Lookback, NoShift, ObservationPeriodShift, Lockout].
|
getset |
If the interest rate is simple, compounded or using a pre-computed compounded index. Supported string (enumeration) values are: [Averaging, Compounding, CompoundedIndex].
If the interest rate is simple, compounded or using a pre-computed compounded index. Supported string (enumeration) values are: [Averaging, Compounding, CompoundedIndex].
|
getset |
The interest payment frequency.
The interest payment frequency.
|
getset |
Defines the number of days to lockout or shift observation period by - should be a non-negative integer
Defines the number of days to lockout or shift observation period by - should be a non-negative integer
|
getset |
Defines how the computed leg spread is applied to compounded rate. It applies only when CompoundingMethod = ‘Compounding‘ or ‘CompoundedIndex‘. Available compounding methods: | Method | Description | | - – – - | - – – – – – | | Straight | Compounding rate in each compound period includes the spread. | | Flat | Compounding rate does not include the spread, and the spread is used for simple interest in each compound period. | | SpreadExclusive | Compounding rate does not include the spread, and the spread is used for simple interest for whole accrual period. | The values "IsdaCompounding", "NoCompounding", "IsdaFlatCompounding", and "None" are accepted for compatibility with existing instruments and their use is discouraged. Supported string (enumeration) values are: [Straight, IsdaCompounding, NoCompounding, SpreadExclusive, IsdaFlatCompounding, Flat, None].
Defines how the computed leg spread is applied to compounded rate. It applies only when CompoundingMethod = ‘Compounding‘ or ‘CompoundedIndex‘. Available compounding methods: | Method | Description | | - – – - | - – – – – – | | Straight | Compounding rate in each compound period includes the spread. | | Flat | Compounding rate does not include the spread, and the spread is used for simple interest in each compound period. | | SpreadExclusive | Compounding rate does not include the spread, and the spread is used for simple interest for whole accrual period. | The values "IsdaCompounding", "NoCompounding", "IsdaFlatCompounding", and "None" are accepted for compatibility with existing instruments and their use is discouraged. Supported string (enumeration) values are: [Straight, IsdaCompounding, NoCompounding, SpreadExclusive, IsdaFlatCompounding, Flat, None].