|
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), int? roundingPrecision=default(int?)) | |
| 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‘. Default value: None. Available values: None, Unweighted, Weighted, UnweightedIncludingWeekends. More... | |
| string | CalculationShiftMethod [get, set] |
| Defines which resets and day counts are used for the rate calculation Default value: NoShift. Available values: 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, NonCumulativeCompounding]. More... | |
| string | ResetFrequency [get, set] |
| The interest payment frequency. For more information on tenors, see knowledge base article KA-02097 More... | |
| int | Shift [get, set] |
| Defines the number of days to lockout or shift observation period by - should be a non-negative integer. Defaults to 0 if not set. 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]. Defaults to "None" if not set. More... | |
| int? | RoundingPrecision [get, set] |
| Defines the number of decimal places the compounded rate (expressed as a decimal) should be rounded to. This is an optional field, leaving it blank will mean no rounding takes place in Compounding. 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‘. Default value: None. Available values: None, Unweighted, Weighted, UnweightedIncludingWeekends.. |
| calculationShiftMethod | Defines which resets and day counts are used for the rate calculation Default value: NoShift. Available values: 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, NonCumulativeCompounding]. (required). |
| resetFrequency | The interest payment frequency. For more information on tenors, see knowledge base article KA-02097 (required). |
| shift | Defines the number of days to lockout or shift observation period by - should be a non-negative integer. Defaults to 0 if not set.. |
| 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]. Defaults to "None" if not set.. |
| roundingPrecision | Defines the number of decimal places the compounded rate (expressed as a decimal) should be rounded to. This is an optional field, leaving it blank will mean no rounding takes place in Compounding.. |
|
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‘. Default value: None. Available values: None, Unweighted, Weighted, UnweightedIncludingWeekends.
Defines whether a weighted or unweighted average is used when calculating the average rate. It applies only when CompoundingMethod = ‘Averaging‘. Default value: None. Available values: None, Unweighted, Weighted, UnweightedIncludingWeekends.
|
getset |
Defines which resets and day counts are used for the rate calculation Default value: NoShift. Available values: Lookback, NoShift, ObservationPeriodShift, Lockout.
Defines which resets and day counts are used for the rate calculation Default value: NoShift. Available values: 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, NonCumulativeCompounding].
If the interest rate is simple, compounded or using a pre-computed compounded index. Supported string (enumeration) values are: [Averaging, Compounding, CompoundedIndex, NonCumulativeCompounding].
|
getset |
The interest payment frequency. For more information on tenors, see knowledge base article KA-02097
The interest payment frequency. For more information on tenors, see knowledge base article KA-02097
|
getset |
Defines the number of decimal places the compounded rate (expressed as a decimal) should be rounded to. This is an optional field, leaving it blank will mean no rounding takes place in Compounding.
Defines the number of decimal places the compounded rate (expressed as a decimal) should be rounded to. This is an optional field, leaving it blank will mean no rounding takes place in Compounding.
|
getset |
Defines the number of days to lockout or shift observation period by - should be a non-negative integer. Defaults to 0 if not set.
Defines the number of days to lockout or shift observation period by - should be a non-negative integer. Defaults to 0 if not set.
|
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]. Defaults to "None" if not 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]. Defaults to "None" if not set.