voly 0.0.71__py3-none-any.whl → 0.0.73__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 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, 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
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 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
@@ -198,8 +198,7 @@ def plot_parameters(fit_results: pd.DataFrame) -> go.Figure:
198
198
  fig.update_layout(
199
199
  title='Raw SVI Parameters Across Expiries',
200
200
  template='plotly_dark',
201
- showlegend=False,
202
- height=800
201
+ showlegend=False
203
202
  )
204
203
 
205
204
  return fig
@@ -263,8 +262,7 @@ def plot_jw_parameters(fit_results: pd.DataFrame) -> go.Figure:
263
262
  fig.update_layout(
264
263
  title='Jump-Wing Parameters Across Expiries',
265
264
  template='plotly_dark',
266
- showlegend=False,
267
- height=800
265
+ showlegend=False
268
266
  )
269
267
 
270
268
  return fig
@@ -335,8 +333,7 @@ def plot_fit_performance(fit_results: pd.DataFrame) -> go.Figure:
335
333
  fig.update_layout(
336
334
  title='Model Fitting Accuracy Statistics',
337
335
  template='plotly_dark',
338
- showlegend=False,
339
- height=700
336
+ showlegend=False
340
337
  )
341
338
 
342
339
  return fig
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: voly
3
- Version: 0.0.71
3
+ Version: 0.0.73
4
4
  Summary: Options & volatility research package
5
5
  Author-email: Manu de Cara <manu.de.cara@gmail.com>
6
6
  License: MIT
@@ -1,18 +1,18 @@
1
1
  voly/__init__.py,sha256=8xyDk7rFCn_MOD5hxuv5cxxKZvBVRiSIM7TgaMPpwpw,211
2
- voly/client.py,sha256=-5-eMMYZwyRZcyupkTyNDUDhCnUwCv4NJzqb20_IRy4,20725
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=sGf6VFfcHyGs4hqoIIc1pKdpgt7g3Rd9iAcTbAxC6Gw,29031
7
+ voly/core/charts.py,sha256=idzwUJ6iVJ35lUZT0VQySqPdskEDgJaJ83MM2lfdlr0,28936
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.71.dist-info/LICENSE,sha256=wcHIVbE12jfcBOai_wqBKY6xvNQU5E909xL1zZNq_2Q,1065
15
- voly-0.0.71.dist-info/METADATA,sha256=2y5OQ_mCtLFK8IMbSs5VmkmuYU2TDcBzGSnovFt4hRY,4092
16
- voly-0.0.71.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
17
- voly-0.0.71.dist-info/top_level.txt,sha256=ZfLw2sSxF-LrKAkgGjOmeTcw6_gD-30zvtdEY5W4B7c,5
18
- voly-0.0.71.dist-info/RECORD,,
14
+ voly-0.0.73.dist-info/LICENSE,sha256=wcHIVbE12jfcBOai_wqBKY6xvNQU5E909xL1zZNq_2Q,1065
15
+ voly-0.0.73.dist-info/METADATA,sha256=MYhNq9kj9mjiY8Ivx7uw-NbM-A9EU_YfPfepvB8yMRM,4092
16
+ voly-0.0.73.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
17
+ voly-0.0.73.dist-info/top_level.txt,sha256=ZfLw2sSxF-LrKAkgGjOmeTcw6_gD-30zvtdEY5W4B7c,5
18
+ voly-0.0.73.dist-info/RECORD,,
File without changes
File without changes