The following table explains how LUSID calculates accrued interest for supported instruments.
Instrument | LUSID's accrued interest calculation | |
---|---|---|
| Sum of basket accrued. Currency mixes not supported. | |
Various. See Diagnostics. | ||
| ||
| Accrual using flow convention day count, adjusted for inflation. | |
| Accrual on premium leg only using flow convention day count, assuming no default. | |
| Accrual on premium leg only using flow convention day count, assuming no default. | |
| Accrual on funding leg only, no equity. | |
| Accrual using flow convention day count. | |
| Accrual using flow convention day count. For SOFR/OIS, known daily resets are compounded. For in arrears, 0 is returned. | |
| Accrual on daily notional amounts (same as | |
| CPI swap is zero coupon so 0 is always returned. YoY/LPI swap returns sum of two accruals, using same day count form interest leg on both. | |
| Sum of leg accruals. No FX conversion considered. | |
| Accrual on interest using AccrualBasis day count. | |
| Days accrued divided by days in period multipled by the period interest amount. | |
| Accrual using flow convention day count and a calendar where every week day is a good business day (no holidays). |
Changing the accrual recognition time of day in a recipe
By default, LUSID recognises interest accruals at start of day (SOD). You can change this to end of day (EOD) by setting the pricing.accrualDefinition
field in a valuation recipe, for example:
Diagnosing accrued interest calculations in valuation reports
You can include any of the following metrics in a valuation report for instruments in the table above to further understand LUSID's accrued interest calculation:
For a UK government bond, the response might be as follows: