You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: quantlib/models/equity/heston_model.pyx
+31-20Lines changed: 31 additions & 20 deletions
Original file line number
Diff line number
Diff line change
@@ -62,39 +62,50 @@ cdef class HestonModelHelper(BlackCalibrationHelper):
62
62
)
63
63
64
64
cdef class HestonModel:
65
+
"""Heston model for the stochastic volatility of an asset
65
66
66
-
def__init__(self, HestonProcess process):
67
+
References
68
+
----------
69
+
Heston, Steven L., 1993. "A Closed-Form Solution for Options with Stochastic Volatility with Applications to Bond and Currency Options." *The review of Financial Studies, Volume 6, Issue 2, 327-343.*
70
+
"""
67
71
72
+
def__init__(self, HestonProcess process):
68
73
self._thisptr = shared_ptr[_hm.HestonModel](
69
74
new _hm.HestonModel(static_pointer_cast[_hp.HestonProcess](
70
75
process._thisptr))
71
76
)
72
77
73
78
defprocess(self):
79
+
"""underlying process"""
74
80
cdef HestonProcess process = HestonProcess.__new__(HestonProcess)
0 commit comments