Skip to content

Override atmLevel(Time) on Heston and Andreasen-Huge vol surfaces#2581

Merged
lballabio merged 1 commit into
lballabio:masterfrom
quantales:equity-vol-surface-atmlevel
May 19, 2026
Merged

Override atmLevel(Time) on Heston and Andreasen-Huge vol surfaces#2581
lballabio merged 1 commit into
lballabio:masterfrom
quantales:equity-vol-surface-atmlevel

Conversation

@quantales
Copy link
Copy Markdown
Contributor

Overrides the atmLevel(Time t) virtual on two BlackVolTermStructure subclasses that already hold everything they need to return the forward.

Tests:

  • HestonModelTests/testHestonBlackVolSurfaceAtmLevel asserts surface.atmLevel(t) == s0 * qDisc(t) / rDisc(t).
  • AndreasenHugeVolatilityInterplTests/testAndreasenHugeVolatilityAdapterAtmLevel same check on the AH adapter.

@coveralls
Copy link
Copy Markdown

Coverage Status

coverage: 74.575% (+0.002%) from 74.573% — quantales:equity-vol-surface-atmlevel into lballabio:master

@lballabio lballabio merged commit d4b2732 into lballabio:master May 19, 2026
45 checks passed
@quantales quantales deleted the equity-vol-surface-atmlevel branch May 19, 2026 20:24
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