voly 0.0.83__py3-none-any.whl → 0.0.84__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
@@ -348,7 +348,7 @@ class VolyClient:
348
348
  return fit_results
349
349
 
350
350
  @staticmethod
351
- def get_iv_surface(fit_results: pd.DataFrame,
351
+ def get_iv_surface(model_results: pd.DataFrame,
352
352
  log_moneyness_params: Tuple[float, float, int] = (-2, 2, 500),
353
353
  return_domain: str = 'log_moneyness',
354
354
  ) -> Dict[str, Any]:
@@ -356,7 +356,7 @@ class VolyClient:
356
356
  Generate implied volatility surface using optimized SVI parameters.
357
357
 
358
358
  Parameters:
359
- - fit_results: DataFrame from fit_model()
359
+ - model_results: DataFrame from fit_model() or interpolate_model()
360
360
  - log_moneyness_params: Tuple of (min, max, num_points) for the moneyness grid
361
361
  - return_domain: str Domain for x-axis values ('log_moneyness', 'moneyness', 'strikes', 'delta')
362
362
 
@@ -365,7 +365,7 @@ class VolyClient:
365
365
  """
366
366
  # Generate the surface
367
367
  iv_surface, x_surface = get_iv_surface(
368
- fit_results=fit_results,
368
+ model_results=model_results,
369
369
  log_moneyness_params=log_moneyness_params,
370
370
  return_domain=return_domain
371
371
  )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: voly
3
- Version: 0.0.83
3
+ Version: 0.0.84
4
4
  Summary: Options & volatility research package
5
5
  Author-email: Manu de Cara <manu.de.cara@gmail.com>
6
6
  License: MIT
@@ -1,5 +1,5 @@
1
1
  voly/__init__.py,sha256=8xyDk7rFCn_MOD5hxuv5cxxKZvBVRiSIM7TgaMPpwpw,211
2
- voly/client.py,sha256=Y6XidftiRTiFHuckv9HT8EyApF6zDjR14mryZeO0rGA,21828
2
+ voly/client.py,sha256=ABScTJhB-KXjv3ddJ6XEoSIt9DB4Z40TzH8GGalrox8,21859
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
@@ -11,8 +11,8 @@ voly/core/interpolate.py,sha256=BzLwEuE-PIf0k0oVka7gH6NASlaEdtZAo7zUVwarkoQ,5384
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.83.dist-info/LICENSE,sha256=wcHIVbE12jfcBOai_wqBKY6xvNQU5E909xL1zZNq_2Q,1065
15
- voly-0.0.83.dist-info/METADATA,sha256=3Cg0LlfzBCr4ndTbluDuP_mGboM7igJZIs8ak9PXsoU,4092
16
- voly-0.0.83.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
17
- voly-0.0.83.dist-info/top_level.txt,sha256=ZfLw2sSxF-LrKAkgGjOmeTcw6_gD-30zvtdEY5W4B7c,5
18
- voly-0.0.83.dist-info/RECORD,,
14
+ voly-0.0.84.dist-info/LICENSE,sha256=wcHIVbE12jfcBOai_wqBKY6xvNQU5E909xL1zZNq_2Q,1065
15
+ voly-0.0.84.dist-info/METADATA,sha256=uu6qkbgS5-LDwb6YMuZXolHTmTrYk5QncG42L-EN9PU,4092
16
+ voly-0.0.84.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
17
+ voly-0.0.84.dist-info/top_level.txt,sha256=ZfLw2sSxF-LrKAkgGjOmeTcw6_gD-30zvtdEY5W4B7c,5
18
+ voly-0.0.84.dist-info/RECORD,,
File without changes
File without changes