-
-
Save quantra-go-algo/272c2dd350049fd7786c2e892b200c28 to your computer and use it in GitHub Desktop.
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
# Model parameters | |
S0 = 100.0 # Initial stock price | |
K = 100.0 # Strike price | |
r = 0.05 # Risk-free rate | |
T = 1.0 # Time to maturity | |
kappa = 2.0 # Mean reversion rate | |
theta = 0.05 # Long-term average volatility | |
sigma = 0.3 # Volatility of volatility | |
rho = -0.5 # Correlation coefficient | |
v0 = 0.05 # Initial volatility |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment