feat(quantlib): add Heston (1993) stochastic volatility option pricing - #1195
Open
santhreal wants to merge 1 commit into
Open
feat(quantlib): add Heston (1993) stochastic volatility option pricing#1195santhreal wants to merge 1 commit into
santhreal wants to merge 1 commit into
Conversation
santhreal
force-pushed
the
feat/quantlib-heston-model
branch
from
August 24, 2026 10:23
b5ef73b to
5790e1a
Compare
Implement semi-analytical European option pricing under the Heston stochastic volatility model via numerical quadrature of the continuous characteristic function (Lewis 2001 / Albrecher et al. 2007 formulation). Signed-off-by: santhreal <64453045+santhreal@users.noreply.github.com>
santhreal
force-pushed
the
feat/quantlib-heston-model
branch
from
August 24, 2026 10:31
5790e1a to
b415de9
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements semi-analytical European option pricing under the Heston (1993) stochastic volatility model via numerical quadrature of the continuous characteristic function (Lewis 2001 / Albrecher et al. 2007 formulation).
Changes
agent/src/quantlib/volatility.pyimplementingheston_price,heston_characteristic_function, andheston_feller_condition.QuantlibCallToolinagent/src/tools/quantlib_tool.py.agent/tests/quantlib/test_volatility.pytesting against published literature benchmarks (Moodley 2005), put-call parity, and convergence to Black-Scholes.Signed-off-by: santhreal 64453045+santhreal@users.noreply.github.com