You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test: validate floating-bond IR01/CS01 against OpenGamma §5.2 FRN reference (#148)
Rebuilds the OpenGamma "Bond Pricing" (Henrard, Quantitative Research, 2011)
§5.2 floating-rate-note price from eq. (3)+(4) directly — coupons estimated on
the index/forward curve I, coupons+notional discounted on the issuer credit
curve C — using three distinct curves, then checks the package against it:
- price reproduces OpenGamma eq. (4) to machine precision
- IR01 (1bp parallel shift of the risk-free curve, driving both I and C so
coupons re-fix) maps to Effective; matches a 1bp bump of the reference PV
- CS01 (1bp shift of the issuer spread only, coupons held) maps to Spread
- the FRN signature |IR01| ~ 0 (next reset) << CS01 ~ maturity, with CS01
concentrated at the notional repayment
The existing floating tests checked this only qualitatively and FD-checked
Effective on a single curve; this adds the explicit three-curve reconstruction
and the IR01/CS01 mapping.
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments