You can configure LUSID to compound interest for instruments that have a floating leg:
InterestRateSwap (also
InterestRateSwaption)ComplexBond with a
FloatScheduleCapFloorFundingLeg
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 compounding methods:
| Choose this method to… | Additional |
|---|---|---|
| Calculate an arithmetic average of the reset rates in the payment period. |
|
| Calculate a compound rate from the reset rates in the payment period. |
|
| Calculate a compound rate from a pre-computed compound index such as SOFR Index. |
|