Risk (PV01 / DV01)
PV01 is the dollar change in a position's value for a one-basis-point move in rates — the app's primary risk-sizing number, shown per swap.
Per-swap PV01Annuity basis
Uses the swap market's current variable rate as a discount rate and an annuity factor over the swap's remaining life.
annuityFactor(y, T) = (1 − e^−yT) / y pv01 = notional × annuityFactor(y, T) × 0.0001
discount rate y = current variableremaining tenor Tportfolio/risk.ts:27
Cost of a rate rise (+1%)Simplified estimate
The dashboard headline's "if variable rises 1%, staying put costs" — a flat linear estimate on UNHEDGED debt, where a rise is a cost you pay. Not derived from PV01 or annuity discounting.
costPerYear = unhedgedDebt × 0.01
per yearsrc/lib/loans/premium.ts:rateRiseCost
Known limitation. The PV01 ladder above and the exit price a customer actually sees are computed on two different bases. The ladder uses an annuity discounting model; the live exit price (see Mark-to-market & early exit) uses a simpler linear model. The gap between them is small under normal conditions but real — it will close once the annuity basis lands in the pricing contract itself.