Home AI Trading Strategies / Heston Stochastic Volatility Model

Heston Stochastic Volatility Model Trading Strategy

Analyze advanced volatility models with Sourcetable AI. Calculate Heston parameters, price exotic options, and generate volatility surfaces automatically—no coding required.

Andrew Grosser

Andrew Grosser

February 24, 2026 • 15 min read

Introduction

October 2023: VIX at 19, SPX at 4,300. You need to price a 6-month 10% OTM put. Black-Scholes assumes flat vol—but the vol surface is skewed. The Heston model captures the smile. The Heston stochastic volatility model revolutionized derivatives pricing by acknowledging what traders already knew: volatility isn't constant. Unlike the Black-Scholes model that assumes fixed volatility, the Heston model treats volatility as a random variable that changes over time, capturing the volatility smile and skew observed in real markets.

Quantitative traders and derivatives desks use the Heston model to price exotic options, calibrate volatility surfaces, and hedge complex positions. The model explains why out-of-the-money puts trade at higher implied volatilities than at-the-money options—a phenomenon Black-Scholes can't capture. This makes it essential for pricing variance swaps, volatility derivatives, and path-dependent options sign up free.

Why Sourcetable for Heston Model Analysis

The Heston model describes stock price dynamics with two stochastic differential equations: one for the asset price and one for variance. The model includes five parameters—mean reversion speed (kappa), long-term variance (theta), volatility of volatility (sigma), correlation (rho), and initial variance (v0). Calibrating these parameters to market data traditionally requires optimization algorithms, characteristic function evaluation, and numerical integration.

Excel users attempting Heston model analysis face overwhelming complexity. You'd need to implement the characteristic function in VBA, code complex-valued exponentials, set up optimization routines with constraints, and handle numerical instability. A single pricing calculation might require 200+ lines of code and extensive debugging. Changes to parameters mean rebuilding formulas across multiple sheets.

Sourcetable eliminates this technical barrier completely. Upload your options chain data—strikes, maturities, implied volatilities, spot price—and simply ask 'Calibrate Heston model to this data.' The AI automatically implements the characteristic function, runs optimization, enforces Feller condition constraints, and returns calibrated parameters. No coding, no mathematical derivations, no debugging integration errors.

The platform understands derivatives terminology naturally. Ask 'What's the Heston price for a $105 call expiring in 45 days?' and it applies the calibrated parameters, evaluates the pricing integral, and returns the result. Request 'Show me the volatility surface' and Sourcetable generates a 3D visualization across strikes and maturities. Need Greeks? Ask 'Calculate delta and vega for all strikes' and the AI computes them using the Heston framework.

Sourcetable's AI handles the mathematical sophistication behind the scenes—Fourier transforms, complex integration, parameter constraints—while you interact through conversational language. This means quantitative strategies become accessible to traders without programming backgrounds, while experienced quants save hours on implementation and can focus on strategy development rather than numerical methods.

The platform also manages data workflows seamlessly. Import live options data, update calibrations automatically as new prices arrive, and share interactive models with your team. Changes propagate instantly—no manual formula updates, no broken cell references, no version control issues that plague Excel-based quant models.

Benefits of Heston Model Analysis with Sourcetable

The Heston model provides superior options pricing accuracy compared to Black-Scholes, especially for out-of-the-money options and longer maturities. Derivatives desks use it to price exotic products, manage volatility risk, and identify mispriced options across the volatility surface. Sourcetable makes these advanced quantitative techniques accessible through natural language AI.

Automatic Parameter Calibration

Calibrating the Heston model traditionally requires nonlinear optimization with multiple constraints. You need to minimize the difference between model prices and market prices across dozens of options while ensuring parameters satisfy the Feller condition (2*kappa*theta > sigma^2) for variance process stability. This involves objective function coding, gradient calculations, and constraint handling.

Sourcetable's AI performs this calibration automatically. Upload an options chain with 50 strikes across 5 maturities, and ask 'Calibrate Heston parameters.' The AI runs constrained optimization, returns the five parameters with standard errors, and shows calibration quality metrics like RMSE and maximum pricing error. You get results in seconds instead of spending hours coding and debugging optimization routines.

  • Heston Parameters: κ (mean reversion speed), θ (long-run variance), ξ (vol-of-vol), ρ (spot-vol correlation), v₀ (initial variance); typical SPX calibration: κ=3.0, θ=0.04, ξ=0.4, ρ=-0.7, v₀=0.05.
  • Calibration Objective: Minimize sum of squared differences between model prices and observed market prices across the vol surface; with 50–100 liquid options strikes and maturities, calibration fits the entire surface simultaneously.
  • Feller Condition: 2κθ > ξ² must hold to prevent variance from hitting zero; with κ=3.0, θ=0.04, ξ=0.4: 2×3.0×0.04 = 0.24 > 0.16 = ξ²—Feller condition satisfied, variance process stays positive.
  • Spot-Vol Correlation: ρ=-0.7 means stocks and vol move inversely (typical equity market behavior); ρ=0 in Black-Scholes produces symmetric smile; ρ=-0.7 produces negative skew where OTM puts are more expensive than OTM calls.

Instant Volatility Surface Generation

The Heston model generates smooth volatility surfaces that capture market-observed smiles and term structures. Creating these surfaces manually requires evaluating the model at hundreds of strike-maturity combinations, converting prices to implied volatilities, and building 3D visualizations.

With Sourcetable, simply ask 'Generate volatility surface from 80% to 120% moneyness, 1 week to 1 year maturity.' The AI evaluates Heston prices across this grid, converts to implied volatilities using numerical inversion, and creates an interactive 3D surface you can rotate and explore. Change a parameter like correlation from -0.7 to -0.5 and ask 'Update surface'—the visualization refreshes immediately, showing how correlation affects the skew.

  • Vol Smile: Implied vol varying by strike at fixed maturity; OTM puts on SPX typically show vol 3–8 points higher than ATM (negative skew from demand for downside protection and realized negative spot-vol correlation).
  • Term Structure: Implied vol varying by maturity at fixed strike; normal upward sloping in calm markets (30-day VIX 14%, 1-year vol 17%); inverted during crises when near-term fear exceeds long-term uncertainty.
  • Heston vs. Local Vol: Heston generates forward vol smiles consistent with observed market dynamics; local vol (Dupire) exactly matches today's surface but produces flat forward smiles—Heston is better for path-dependent exotics that depend on future vol dynamics.
  • Bergomi Roughness: Recent research shows SPX vol has Hurst exponent ≈ 0.1 (rough volatility), substantially below 0.5 (smooth); rough Heston extensions capture this better but require additional parameter calibration.

Greeks Calculation Across the Surface

Hedging with the Heston model requires Greeks that account for stochastic volatility—not just standard delta and gamma, but also vega, volga, and vanna. These sensitivities require partial derivatives of the characteristic function, implemented through numerical differentiation or analytical formulas.

Sourcetable computes these Greeks automatically. Ask 'Calculate delta, vega, and vanna for my portfolio' and the AI applies Heston model Greeks to each position, aggregates exposures, and shows your total sensitivity to spot moves, volatility changes, and cross-effects. For a portfolio with 200 options across multiple underlyings, this analysis happens in seconds—no manual formula construction, no array formulas, no VBA macros.

  • Vanna (dDelta/dVol): Measures how delta changes with vol changes; negative for equity puts—when vol rises, put delta becomes more negative; Heston vanna is non-trivial and depends on spot-vol correlation ρ, unlike Black-Scholes where it's a simple formula.
  • Volga (dVega/dVol): How vega changes with vol; positive for OTM options; Heston captures volga accurately because vol-of-vol parameter ξ directly controls the convexity of the vol smile—critical for pricing vol derivatives.
  • Correlation Risk: ρ changes over time (it was -0.85 in 2008, -0.60 in 2021); Heston model sensitivity to ρ changes is substantial—a 10-point shift in ρ can change OTM put prices by 2–4%.
  • Mean Reversion Speed κ: High κ means vol reverts quickly to θ; during COVID (κ≈8), vol collapsed from 80 to 20 within 2 months; during 2022 (κ≈1), elevated vol persisted for 12 months—regime-dependent calibration is more accurate than static κ estimates.

Exotic Options Pricing

The Heston model excels at pricing path-dependent and barrier options where volatility dynamics matter significantly. Pricing a down-and-out put with Black-Scholes ignores how volatility increases as the stock approaches the barrier—potentially mispricing the option by 10-20%.

Ask Sourcetable 'Price a down-and-out put, strike $100, barrier $90, 60 days, using Heston model' and the AI applies Monte Carlo simulation with stochastic volatility paths or uses semi-analytical methods depending on the barrier type. You get accurate pricing that reflects volatility dynamics without coding simulation engines or implementing complex boundary conditions.

Model Comparison and Validation

Quantitative analysts need to validate that Heston model improvements justify the additional complexity over Black-Scholes. This requires pricing the same options with both models, comparing to market prices, and analyzing pricing errors across strikes and maturities.

Sourcetable makes this comparison trivial. Ask 'Compare Heston and Black-Scholes prices to market for all options' and the AI generates a table showing model prices, market prices, and percentage errors for each option. Visualizations highlight where Heston provides the most improvement—typically far out-of-the-money options where volatility smile effects are strongest. You can immediately see that Heston reduces average pricing error from 4.2% to 1.1% for your dataset.

Real-Time Strategy Adjustment

Markets move fast, and volatility parameters change throughout the day. Re-calibrating models and updating positions requires speed that Excel can't provide. Manual recalculation across complex spreadsheets takes minutes—an eternity when managing risk.

With Sourcetable's AI, updating analysis is conversational. Market drops 2% and implied volatilities spike? Ask 'Recalibrate with updated prices' and the AI re-runs optimization with new data. Request 'How did my portfolio Greeks change?' and instantly see updated exposures. This real-time adaptability lets you manage risk actively instead of working with stale parameters from this morning's calibration.

How Heston Model Analysis Works in Sourcetable

Sourcetable transforms complex stochastic volatility modeling into natural conversation. The AI understands the mathematical framework, handles numerical implementation, and presents results in actionable formats. Here's how to implement Heston model strategies from data import to live trading.

Step 1: Import Options Market Data

Start by uploading your options chain data. This includes strikes, expiration dates, bid-ask prices, implied volatilities, and underlying spot price. For SPY trading at $450, you might import 200 options spanning strikes from $400 to $500 and maturities from 1 week to 6 months. Sourcetable accepts CSV files, Excel workbooks, or direct API connections to market data providers.

The platform automatically recognizes options data structure—it identifies strike columns, parses expiration dates, and distinguishes calls from puts. No manual data cleaning or reformatting required. If your data includes additional fields like open interest or trading volume, Sourcetable incorporates these for liquidity-weighted calibration.

  • Start by uploading your options chain data.
  • The platform automatically recognizes options data structure—it identifies strik.

Step 2: Calibrate Heston Parameters

Once data is loaded, simply ask 'Calibrate Heston model to market prices.' The AI initiates nonlinear optimization to find the five parameters that best fit market data. Behind the scenes, it evaluates the characteristic function using Fourier inversion, calculates model prices via numerical integration, and minimizes squared pricing errors subject to parameter constraints.

Sourcetable returns calibrated parameters with interpretations. For example: kappa = 2.5 (volatility mean-reverts with half-life of 0.28 years), theta = 0.04 (long-term variance of 20% volatility), sigma = 0.3 (volatility of volatility), rho = -0.65 (negative correlation creating volatility skew), v0 = 0.045 (current variance slightly above long-term level). You also see calibration diagnostics: RMSE of $0.18, maximum error of 3.2%, and confirmation that Feller condition is satisfied.

Step 3: Price Options and Analyze Strategies

With calibrated parameters, you can price any option using the Heston framework. Ask 'What's the Heston price for a $460 call expiring in 30 days?' and get the model price instantly. For strategy analysis, request 'Price an iron condor with strikes $440/$445/$455/$460' and Sourcetable calculates all four legs using Heston prices, showing total premium collected and maximum risk.

The AI handles complex strategies naturally. For a calendar spread, ask 'Compare $450 call prices for 30-day and 60-day expirations'—Sourcetable shows how the Heston model captures term structure effects that impact calendar spread profitability. For ratio spreads, request 'Price 1x2 call spread, long 1 at $450, short 2 at $460' and see the complete payoff profile with stochastic volatility effects included.

  • "s the Heston price for a $460 call expiring in 30 days?"
  • "Price an iron condor with strikes $440/$445/$455/$460"
  • "Compare $450 call prices for 30-day and 60-day expirations"
  • "Price 1x2 call spread, long 1 at $450, short 2 at $460"

Step 4: Generate Volatility Surfaces and Visualizations

Understanding the full volatility surface helps identify mispriced options and arbitrage opportunities. Ask 'Show implied volatility surface from the Heston model' and Sourcetable creates a 3D visualization with strike on one axis, maturity on another, and implied volatility on the vertical axis. The surface clearly shows the volatility smile at short maturities flattening at longer maturities—exactly what the Heston model captures.

You can overlay market data on model surfaces. Request 'Compare Heston surface to market implied volatilities' and see both surfaces simultaneously, with color-coding showing where model and market diverge. This reveals trading opportunities—if market IV for $430 puts is 2 percentage points above the Heston surface, those puts might be overpriced relative to the overall volatility structure.

Step 5: Calculate and Monitor Greeks

Risk management requires tracking sensitivities across your entire portfolio. Ask 'Calculate Heston Greeks for my positions' and Sourcetable computes delta, gamma, vega, theta, and rho for each option using the stochastic volatility framework. These differ from Black-Scholes Greeks because they account for volatility dynamics and correlation effects.

For advanced risk management, request second-order volatility Greeks: 'Show vanna and volga for all positions.' Vanna measures sensitivity to spot-volatility correlation while volga captures convexity in vega. For a portfolio with short gamma and negative vanna, Sourcetable shows you're vulnerable to simultaneous spot drops and volatility increases—the exact scenario where Heston model insights matter most.

Step 6: Perform Scenario Analysis

Testing strategies across market scenarios reveals risks that single-point estimates miss. Ask 'How does my portfolio perform if spot drops 5% and volatility increases 10%?' Sourcetable adjusts the underlying price and volatility parameters, reprices all positions using the Heston model, and shows your P&L. You can test multiple scenarios: 'Show P&L for spot changes from -10% to +10% and volatility changes from -20% to +30%' creates a heat map of portfolio value across conditions.

The AI also performs historical scenario analysis. Upload past market data and ask 'How would this portfolio have performed during the March 2020 volatility spike?' Sourcetable calibrates Heston parameters to historical data, reprices your current positions in that environment, and shows hypothetical P&L. This stress testing reveals vulnerabilities before they cost real money.

Step 7: Optimize and Execute Strategies

Finding optimal strategies requires testing multiple configurations. Ask 'What strike ratio maximizes premium in a call ratio spread while keeping max loss under $2,000?' Sourcetable tests combinations, evaluates each using Heston pricing, and recommends the optimal structure—perhaps 1x1.5 ratio at $455/$465 strikes collecting $185 premium with $1,850 maximum loss.

For portfolio construction, request 'Build a delta-neutral portfolio with positive vega using calls and puts.' The AI selects option combinations that achieve your Greek targets while minimizing capital requirements. As you prepare to execute, ask 'Show bid-ask spreads and recommend order types' for practical trading guidance that connects quantitative analysis to real execution.

Real-World Heston Model Use Cases

The Heston stochastic volatility model serves diverse trading objectives across options markets. From identifying mispriced volatility to hedging exotic derivatives, these use cases demonstrate how Sourcetable's AI implementation delivers quantitative edge without programming complexity.

Volatility Arbitrage and Dispersion Trading

Volatility traders profit from differences between implied and realized volatility or from volatility mispricing across strikes. The Heston model provides a theoretically consistent volatility surface, making deviations from this surface potential trading signals. A trader notices that SPY 30-day $430 puts trade at 24% implied volatility while the calibrated Heston model suggests 21.5% IV given the overall volatility structure.

Using Sourcetable, the trader asks 'Show options where market IV exceeds Heston IV by more than 2 percentage points.' The AI scans the entire chain, identifies overpriced options, and ranks them by mispricing magnitude. The trader sees that several out-of-the-money puts are rich relative to the model, suggesting a volatility selling opportunity. They construct a put spread to sell overpriced volatility while limiting risk.

For dispersion trades between index and component options, the trader uploads options data for SPY and its top 10 holdings. Asking 'Compare Heston implied correlation to market-implied correlation' reveals that correlation is priced at 65% in the market but Heston analysis of individual components suggests 58%. This 7-point difference represents a dispersion trade opportunity—long volatility on components, short volatility on the index.

Exotic Options Pricing for Structured Products

Investment banks issuing structured products need accurate pricing for exotic options embedded in these instruments. A bank structures a principal-protected note offering 150% participation in upside with a 5% barrier that knocks out the participation if the underlying drops below the barrier. Pricing this correctly requires modeling how volatility behaves as the stock approaches the barrier—exactly what Heston captures.

The structuring desk uploads market data to Sourcetable and asks 'Price a down-and-in barrier option with $95 barrier, $100 strike, 1-year maturity using Heston model.' The AI runs Monte Carlo simulation with correlated stochastic volatility and price paths, properly capturing that volatility tends to rise as prices fall (negative correlation). The Heston price comes in at $4.85 versus $4.20 from Black-Scholes—a 15% difference that significantly impacts product profitability.

For risk management, they ask 'Calculate barrier probability and expected time to barrier under Heston dynamics.' Sourcetable shows a 23% probability of barrier breach and expected time of 147 days if breached. This informs hedging strategy—the desk needs to maintain a dynamic hedge that accounts for changing volatility as the stock moves. Requesting 'Show delta profile as spot approaches barrier' reveals the hedge ratio increases sharply near $96, requiring active rebalancing.

Volatility Risk Premium Harvesting

Systematic volatility sellers exploit the volatility risk premium—the persistent tendency for implied volatility to exceed realized volatility. The Heston model helps optimize this strategy by identifying which options offer the best risk-adjusted premium and by improving hedge ratios. A volatility fund sells weekly straddles on high-volume ETFs, collecting premium from elevated implied volatility.

The fund manager uploads historical options data spanning two years and asks Sourcetable 'Calculate average difference between Heston-implied volatility and subsequent realized volatility across strikes.' The analysis reveals that at-the-money options show a 2.8 percentage point risk premium, but 10-delta puts show a 4.5 percentage point premium—significantly better. This suggests focusing short volatility exposure on out-of-the-money puts rather than at-the-money straddles.

For position sizing, the manager asks 'What position size keeps maximum drawdown under 15% based on Heston scenario analysis?' Sourcetable runs thousands of simulated paths using calibrated Heston parameters, calculates P&L for different position sizes, and recommends selling 20 straddles per $1M capital. The analysis accounts for volatility clustering and fat tails that the Heston model captures—providing more realistic risk estimates than normal distribution assumptions.

Portfolio Volatility Hedging for Institutional Investors

A pension fund holds $500M in equities and wants downside protection without sacrificing too much upside. Traditional put buying is expensive due to the volatility risk premium. Using Heston model analysis, the risk manager explores alternative hedging structures that account for volatility dynamics. They upload portfolio holdings and options chains to Sourcetable.

Asking 'Compare hedge effectiveness of 5% OTM puts versus put spreads under Heston dynamics' reveals that put spreads (buying 5% OTM, selling 15% OTM) provide 68% of the downside protection at 42% of the cost. The Heston model shows that in crash scenarios, volatility spikes reduce the value of the short puts less than Black-Scholes suggests because extreme out-of-the-money options are less sensitive to volatility increases—their deltas remain small even as volatility rises.

For dynamic hedging, the manager asks 'Create a rebalancing schedule that maintains 90% downside protection with minimal trading.' Sourcetable analyzes how Heston Greeks evolve over time and recommends rebalancing when delta exposure drifts by more than 15 percentage points or when 30 days pass—whichever comes first. This reduces trading costs by 35% compared to weekly rebalancing while maintaining similar protection levels.

Frequently Asked Questions

If your question is not covered here, you can contact our team.

Contact Us
What problem does the Heston model solve that Black-Scholes cannot?
Black-Scholes assumes constant volatility—a single number for the life of the option. Reality: implied volatility varies across strikes (smile/skew) and maturities (term structure). The BS implied vol for a 25-delta SPX put might be 22% while a 25-delta call is 17%—a 5-point 'skew.' Black-Scholes with a single 20% vol can't price both correctly simultaneously. Heston (1993) introduces stochastic volatility: variance evolves as a mean-reverting process (CIR process): dv = κ(θ-v)dt + ξ√v dZ. This generates the volatility smile/skew naturally. The Heston model can simultaneously calibrate to the entire implied vol surface (all strikes and expirations) using its 5 parameters, where Black-Scholes requires a different vol input for every option.
What are the five Heston model parameters and what do they represent?
Heston parameters: (1) v₀—current variance (square of current vol). If current vol = 20%, v₀ = 0.04. (2) θ—long-run mean variance (the variance the process reverts toward). If θ = 0.0625, long-run vol = 25%. (3) κ—mean reversion speed. κ = 1.0 means variance reverts half the distance to θ every 0.693 years. Higher κ = faster mean reversion. (4) ξ (xi)—'vol of vol'—how much variance itself fluctuates. High ξ creates fat tails and pronounced smile. (5) ρ (rho)—correlation between stock return and variance shocks. Negative ρ (typically -0.7 to -0.9 for equities) creates the left skew seen in equity options (down moves accompanied by vol increases). These 5 parameters are calibrated to market option prices using least-squares optimization.
How is the Heston model calibrated to market option prices?
Calibration process: (1) Collect market option prices for the underlying at multiple strikes and expirations (50-100 options typical). (2) Convert prices to implied vols (Black-Scholes inversion). (3) Set up objective function: minimize sum of squared differences between model-implied vols and market-implied vols across all options. (4) Optimize 5 Heston parameters (v₀, θ, κ, ξ, ρ) using gradient descent, differential evolution, or Levenberg-Marquardt algorithm. (5) Python implementation: QuantLib library has built-in Heston calibration. Scipy.optimize.minimize with analytical Heston pricing formula (characteristic function approach). Calibration quality: typically achieves 0.5-1.0 vol-point RMSE across the entire surface. Main challenge: multiple parameter sets can produce similar surfaces (local optima, poor identifiability).
How does the Heston model price exotic options differently from Black-Scholes?
Heston vs BS for exotic options: (1) Barrier options—Heston properly accounts for path-dependent vol changes. A down-and-in put benefits from higher near-barrier volatility, which Heston captures through the negative correlation parameter. BS underprices these by 5-20%. (2) Asian options—Heston provides more realistic Monte Carlo simulations for arithmetic average options because vol clustering creates more realistic return distributions. (3) Volatility options (VIX options)—Heston variance process can be used to price options on realized variance. (4) Cliquets—periodic return options are extremely sensitive to forward vol and skew; Heston captures both better than BS. (5) KIKO (Knock-In Knock-Out)—path-dependent structures with rebates are priced 15-30% more accurately with Heston in calibration tests.
What are the limitations of the Heston model in practice?
Heston model limitations: (1) Jumps—Heston doesn't include jump processes. Equity markets exhibit discrete price jumps (earnings, shocks) that create extreme short-dated smiles. Heston underprices very short-dated OTM options. The Bates model (1996) extends Heston with jumps. (2) Forward smile dynamics—Heston's implied forward vol surfaces may not match what the market subsequently realizes. This matters for forward-starting options. (3) Calibration instability—small changes in market prices can lead to dramatically different calibrated parameters. (4) Computational intensity—pricing requires numerical integration (characteristic function inversion); slower than BS closed-form for real-time applications. (5) Correlation breakdown—the ρ parameter is assumed constant, but the leverage effect (negative correlation) varies over time and with market stress.
How is Monte Carlo simulation used with the Heston model?
Heston Monte Carlo procedure: (1) Discretize the Heston SDEs using the Euler-Maruyama scheme (simple but biased) or the Broadie-Kaya exact scheme (unbiased but slower). (2) Generate N (typically 10,000-100,000) correlated pairs of Brownian motions (ρ parameter creates correlation between price and vol paths). (3) Step forward in time (1,000-10,000 time steps per year for accuracy). (4) For each path, calculate payoff at expiration. (5) Average payoffs and discount at risk-free rate. Variance reduction techniques: antithetic variates (pair each path with its mirror), control variates (use BS price as control). Computation time: ~5-30 seconds for 100,000 paths in Python without GPU; ~0.1-1 second with numpy vectorization or GPU (CUDA). Commercial applications: QuantLib Python bindings provide Heston Monte Carlo with 1-2 lines of code after calibration.
What Python libraries are available for Heston model implementation?
Python Heston implementation resources: (1) QuantLib (via Python bindings 'QuantLib-Python')—full Heston pricing engine with calibration. Industry standard but steep learning curve. Documentation: quantlib.org. (2) py_vollib—simpler library for option pricing including Heston analytical formula. (3) heston-mc—lightweight Monte Carlo Heston simulator. (4) scipy.optimize + custom characteristic function—academic approach, full control but requires coding the Heston pricing formula from scratch. Reference: Albrecher et al. (2007) provide the standard Heston semi-analytical formula in the form of a Fourier inversion. (5) FinancePy—open-source library with Heston calibration examples. Getting started recommendation: start with QuantLib-Python for reliability, then build custom implementation once the model is understood conceptually.
Andrew Grosser

Andrew Grosser

Founder, CTO @ Sourcetable

Sourcetable is the AI-powered spreadsheet that helps traders, analysts, and finance teams hypothesize, evaluate, validate, and iterate on trading strategies without writing code.

Share this article

Sourcetable Logo
Ready to implement the Heston Stochastic Volatility Model strategy?

Backtest, validate, and execute the Heston Stochastic Volatility Model strategy with AI. No coding required.

Drop CSV