voly 0.0.71__tar.gz → 0.0.72__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: voly
3
- Version: 0.0.71
3
+ Version: 0.0.72
4
4
  Summary: Options & volatility research package
5
5
  Author-email: Manu de Cara <manu.de.cara@gmail.com>
6
6
  License: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "voly"
7
- version = "0.0.71"
7
+ version = "0.0.72"
8
8
  description = "Options & volatility research package"
9
9
  readme = "README.md"
10
10
  authors = [
@@ -60,7 +60,7 @@ line_length = 100
60
60
  multi_line_output = 3
61
61
 
62
62
  [tool.mypy]
63
- python_version = "0.0.71"
63
+ python_version = "0.0.72"
64
64
  warn_return_any = true
65
65
  warn_unused_configs = true
66
66
  disallow_untyped_defs = true
@@ -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, plot_3d_surface, plot_parameters, plot_fit_performance,
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'] = plot_parameters(fit_results)
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
@@ -141,7 +141,7 @@ def plot_all_smiles(x_surface: Dict[str, np.ndarray],
141
141
 
142
142
 
143
143
  @catch_exception
144
- def plot_parameters(fit_results: pd.DataFrame) -> go.Figure:
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}, YTE: {fit_results.loc[m, 'ytm']:.4f})"
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,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: voly
3
- Version: 0.0.71
3
+ Version: 0.0.72
4
4
  Summary: Options & volatility research package
5
5
  Author-email: Manu de Cara <manu.de.cara@gmail.com>
6
6
  License: MIT
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes