voly 0.0.23__py3-none-any.whl → 0.0.24__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- voly/core/fit.py +1 -1
- {voly-0.0.23.dist-info → voly-0.0.24.dist-info}/METADATA +1 -1
- {voly-0.0.23.dist-info → voly-0.0.24.dist-info}/RECORD +6 -6
- {voly-0.0.23.dist-info → voly-0.0.24.dist-info}/LICENSE +0 -0
- {voly-0.0.23.dist-info → voly-0.0.24.dist-info}/WHEEL +0 -0
- {voly-0.0.23.dist-info → voly-0.0.24.dist-info}/top_level.txt +0 -0
voly/core/fit.py
CHANGED
|
@@ -294,7 +294,7 @@ def get_surface(fit_results: Dict[str, Any],
|
|
|
294
294
|
# Generate implied volatility for each expiry
|
|
295
295
|
for maturity, yte in zip(maturity_values, yte_values):
|
|
296
296
|
svi_params = param_matrix[maturity].values
|
|
297
|
-
w_svi = [SVIModel.svi(x, *svi_params) for x in
|
|
297
|
+
w_svi = [SVIModel.svi(x, *svi_params) for x in moneyness_grid]
|
|
298
298
|
iv_surface[yte] = np.sqrt(np.array(w_svi) / yte)
|
|
299
299
|
|
|
300
300
|
return moneyness_grid, iv_surface
|
|
@@ -6,13 +6,13 @@ voly/models.py,sha256=YJ12aamLz_-aOni4Qm0_XV9u4bjKK3vfJz0J2gc1h0o,3565
|
|
|
6
6
|
voly/core/__init__.py,sha256=bu6fS2I1Pj9fPPnl-zY3L7NqrZSY5Zy6NY2uMUvdhKs,183
|
|
7
7
|
voly/core/charts.py,sha256=8btc24KmE5dASNf-qjV-94UiRkzxHUewj44eRC_qe8I,26808
|
|
8
8
|
voly/core/data.py,sha256=Dfk-ByHpdteUiLXr0p-wRLr3VAmdyjdDBKwjwdTgCjA,9939
|
|
9
|
-
voly/core/fit.py,sha256=
|
|
9
|
+
voly/core/fit.py,sha256=y0NSpNGwkm7xd_Feb6wWB3t12oXEbGVvjfXVwNV8Q-M,9971
|
|
10
10
|
voly/core/interpolate.py,sha256=ztVIePJZOh-CIbn69wkh1JW2rKywNe2FEewRN0zcSAo,8185
|
|
11
11
|
voly/core/rnd.py,sha256=-xBVzvM9sMIBtfOfWyBJKtiVcBShSGTNNp2PZFOD5j0,12155
|
|
12
12
|
voly/utils/__init__.py,sha256=E05mWatyC-PDOsCxQV1p5Xi1IgpOomxrNURyCx_gB-w,200
|
|
13
13
|
voly/utils/logger.py,sha256=4-_2bVJmq17Q0d7Rd2mPg1AeR8gxv6EPvcmBDMFWcSM,1744
|
|
14
|
-
voly-0.0.
|
|
15
|
-
voly-0.0.
|
|
16
|
-
voly-0.0.
|
|
17
|
-
voly-0.0.
|
|
18
|
-
voly-0.0.
|
|
14
|
+
voly-0.0.24.dist-info/LICENSE,sha256=wcHIVbE12jfcBOai_wqBKY6xvNQU5E909xL1zZNq_2Q,1065
|
|
15
|
+
voly-0.0.24.dist-info/METADATA,sha256=HilW4OQmZpuiz2pQhidbUV9iQfpOWRYeKgQxFBKL0wc,4092
|
|
16
|
+
voly-0.0.24.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
|
|
17
|
+
voly-0.0.24.dist-info/top_level.txt,sha256=ZfLw2sSxF-LrKAkgGjOmeTcw6_gD-30zvtdEY5W4B7c,5
|
|
18
|
+
voly-0.0.24.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|