Skip to content

Add single-section constructor + tests to PiecewiseBlackVarianceSurface#2478

Merged
lballabio merged 1 commit intolballabio:masterfrom
quantales:piecewise-single-section-constructor
Mar 13, 2026
Merged

Add single-section constructor + tests to PiecewiseBlackVarianceSurface#2478
lballabio merged 1 commit intolballabio:masterfrom
quantales:piecewise-single-section-constructor

Conversation

@quantales
Copy link
Contributor

Supersedes #2471.

Adds a convenience single-section constructor.

Tests include single-section construction, SABR equivalence vs SABRVolTermStructure (whose functionality can now be reproduced by wrapping a SabrSmileSection, avoiding the SABR formula duplication), SVI smile reproduction, and an end-to-end local-vol FD pricing pipeline from parametric smiles, demonstrating the SmileSection -> BlackVolTermStructure -> LocalVolSurface bridge.

@coveralls
Copy link

Coverage Status

coverage: 74.268% (+0.002%) from 74.266%
when pulling a8aa6e9 on quantales:piecewise-single-section-constructor
into 0a02cce on lballabio:master.

@lballabio lballabio added this to the Release 1.42 milestone Mar 13, 2026
@lballabio lballabio merged commit 939a491 into lballabio:master Mar 13, 2026
43 checks passed
@quantales quantales deleted the piecewise-single-section-constructor branch March 13, 2026 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants