Price European options using the Heston stochastic volatility model with analytical formulas. The Heston model captures volatility smile/skew effects better than Black-Scholes by allowing volatility to be stochastic. Perfect for pricing equity options, volatility derivatives, and understanding implied volatility surfaces. Includes Feller condition check for parameter validity.
API key for authentication. Get your key at https://finceptbackend.share.zrok.io/auth/register
Current stock/asset price (e.g., 100 for $100 stock)
Initial variance (volatility squared). For 20% vol, use 0.04 (0.20^2)
Risk-free rate (annualized, e.g., 0.05 for 5%)
Mean reversion speed of variance. Higher = faster reversion. Typical: 1-5
Long-term variance level. This is the variance towards which v reverts
Volatility of variance (vol-of-vol). Controls variance randomness. Typical: 0.1-0.5
Correlation between stock and variance processes. Negative = leverage effect. Range: -1 to 1
Option strike price
Time to maturity in years (e.g., 0.25 for 3 months)
Option type: call or put
call, put