You can configure LUSID to compound interest for the following instruments that have a floating leg (see all instruments):
InterestRateSwap
(alsoInterestRateSwaption
)ComplexBond
with aFloatSchedule
CapFloor
EquitySwap
FundingLeg
You should do this if there are multiple reset rates in a payment period, for example an interest rate swap that references an overnight index such as SOFR Index but pays quarterly. If you do not, LUSID expects one reset rate per payment period.
To compound interest, specify the Compounding
object in the economic definition of an instrument, and choose one of the following compound methods:
CompoundingMethod field | Explanation | Additionally set... | Do not set... |
Averaging | Calculates an arithmetic average of the reset rates in the payment period. | The AveragingMethod field to Weighted to calculate an average weighted by the number of days the rate is applicable for, or else Unweighted . | The SpreadCompoundingMethod field |
Compounding | Calculates a compound rate from the reset rates in the payment period. | The
| The AveragingMethod field |
CompoundedIndex | Calculates a compound rate from a pre-computed compound index such as SOFR Index. | The SpreadCompoundingMethod field to SpreadExclusive . | The AveragingMethod field |