voly 0.0.71__py3-none-any.whl → 0.0.72__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/client.py +2 -2
- voly/core/charts.py +2 -2
- {voly-0.0.71.dist-info → voly-0.0.72.dist-info}/METADATA +1 -1
- {voly-0.0.71.dist-info → voly-0.0.72.dist-info}/RECORD +7 -7
- {voly-0.0.71.dist-info → voly-0.0.72.dist-info}/LICENSE +0 -0
- {voly-0.0.71.dist-info → voly-0.0.72.dist-info}/WHEEL +0 -0
- {voly-0.0.71.dist-info → voly-0.0.72.dist-info}/top_level.txt +0 -0
voly/client.py
CHANGED
|
@@ -22,7 +22,7 @@ from voly.core.fit import fit_model, get_iv_surface
|
|
|
22
22
|
from voly.core.rnd import get_rnd_surface, calculate_pdf, calculate_cdf, calculate_strike_probability
|
|
23
23
|
from voly.core.interpolate import interpolate_model
|
|
24
24
|
from voly.core.charts import (
|
|
25
|
-
plot_all_smiles,
|
|
25
|
+
plot_all_smiles, plot_raw_parameters, plot_jw_parameters, plot_fit_performance, plot_3d_surface,
|
|
26
26
|
plot_fit_performance, plot_rnd, plot_pdf, plot_cdf, plot_rnd_all_expiries,
|
|
27
27
|
plot_rnd_3d, plot_rnd_statistics, plot_interpolated_surface
|
|
28
28
|
)
|
|
@@ -404,7 +404,7 @@ class VolyClient:
|
|
|
404
404
|
)
|
|
405
405
|
|
|
406
406
|
# Plot parameters
|
|
407
|
-
plots['raw_params'] =
|
|
407
|
+
plots['raw_params'] = plot_raw_parameters(fit_results)
|
|
408
408
|
plots['jw_params'] = plot_jw_parameters(fit_results)
|
|
409
409
|
|
|
410
410
|
# Plot fit statistics
|
voly/core/charts.py
CHANGED
|
@@ -141,7 +141,7 @@ def plot_all_smiles(x_surface: Dict[str, np.ndarray],
|
|
|
141
141
|
|
|
142
142
|
|
|
143
143
|
@catch_exception
|
|
144
|
-
def
|
|
144
|
+
def plot_raw_parameters(fit_results: pd.DataFrame) -> go.Figure:
|
|
145
145
|
"""
|
|
146
146
|
Plot raw SVI parameters across different expiries.
|
|
147
147
|
|
|
@@ -165,7 +165,7 @@ def plot_parameters(fit_results: pd.DataFrame) -> go.Figure:
|
|
|
165
165
|
maturity_names = fit_results.index
|
|
166
166
|
|
|
167
167
|
# Create hover text with maturity info
|
|
168
|
-
tick_labels = [f"{m} (DTE: {fit_results.loc[m, 'dtm']:.1f}
|
|
168
|
+
tick_labels = [f"{m} (DTE: {fit_results.loc[m, 'dtm']:.1f}"
|
|
169
169
|
for m in maturity_names]
|
|
170
170
|
|
|
171
171
|
# Plot each parameter
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
voly/__init__.py,sha256=8xyDk7rFCn_MOD5hxuv5cxxKZvBVRiSIM7TgaMPpwpw,211
|
|
2
|
-
voly/client.py,sha256
|
|
2
|
+
voly/client.py,sha256=IUV9rRtuXiZ4uS2AgfIF_tNKfQXPhv8vGE1fUT5qfM0,20753
|
|
3
3
|
voly/exceptions.py,sha256=PBsbn1vNMvKcCJwwJ4lBO6glD85jo1h2qiEmD7ArAjs,92
|
|
4
4
|
voly/formulas.py,sha256=wSbGAH6GuQThT9QyQY4Ud2eUf9fo1YFHglUmP6fNris,11871
|
|
5
5
|
voly/models.py,sha256=LXXIlpXZQEfXTuCngxC8Hd3bWtw6wdXDCSGxTLmHM-c,3659
|
|
6
6
|
voly/core/__init__.py,sha256=bu6fS2I1Pj9fPPnl-zY3L7NqrZSY5Zy6NY2uMUvdhKs,183
|
|
7
|
-
voly/core/charts.py,sha256=
|
|
7
|
+
voly/core/charts.py,sha256=RwCrLv-RJmjXmMcsMQ78Pzr3DCTDXWpZJyM0jAYG2I0,28996
|
|
8
8
|
voly/core/data.py,sha256=e8qBArubNqPkrfuIYB_q2WhRf7TKzA4Z3FhMC-xyLEE,8862
|
|
9
9
|
voly/core/fit.py,sha256=JOr2XjM-I9HtfbyEN0tdGuNCZimQ2ttm4lNUpF-tKb4,9226
|
|
10
10
|
voly/core/interpolate.py,sha256=ztVIePJZOh-CIbn69wkh1JW2rKywNe2FEewRN0zcSAo,8185
|
|
11
11
|
voly/core/rnd.py,sha256=8FTU-Qp9epW9yE4XSOdiFGIRXrGyXqF6mVgZn1NMvxk,11813
|
|
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.72.dist-info/LICENSE,sha256=wcHIVbE12jfcBOai_wqBKY6xvNQU5E909xL1zZNq_2Q,1065
|
|
15
|
+
voly-0.0.72.dist-info/METADATA,sha256=pblY_R5Iig_0PGO0SYWE4EuTHkL2v-ccihf9VpPVEAw,4092
|
|
16
|
+
voly-0.0.72.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
|
|
17
|
+
voly-0.0.72.dist-info/top_level.txt,sha256=ZfLw2sSxF-LrKAkgGjOmeTcw6_gD-30zvtdEY5W4B7c,5
|
|
18
|
+
voly-0.0.72.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|