voly 0.0.60__tar.gz → 0.0.61__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.60
3
+ Version: 0.0.61
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.60"
7
+ version = "0.0.61"
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.60"
63
+ python_version = "0.0.61"
64
64
  warn_return_any = true
65
65
  warn_unused_configs = true
66
66
  disallow_untyped_defs = true
@@ -319,7 +319,7 @@ class VolyClient:
319
319
  # -------------------------------------------------------------------------
320
320
 
321
321
  @staticmethod
322
- def fit_model(market_data: pd.DataFrame,
322
+ def fit_model(option_chain: pd.DataFrame,
323
323
  model_name: str = 'svi',
324
324
  initial_params: Optional[List[float]] = None,
325
325
  param_bounds: Optional[Tuple] = None) -> Dict[str, Any]:
@@ -327,13 +327,13 @@ class VolyClient:
327
327
  Fit a volatility model to market data.
328
328
 
329
329
  Parameters:
330
- - market_data: DataFrame with market data
330
+ - option_chain: DataFrame with option market data
331
331
  - model_name: Name of model to fit (default: 'svi')
332
332
  - initial_params: Optional initial parameters for optimization
333
333
  - param_bounds: Optional parameter bounds for optimization
334
334
 
335
335
  Returns:
336
- - Dictionary with fitting results and optional plots
336
+ - Tuple of (fit_results, fit_performance)
337
337
  """
338
338
  logger.info(f"Fitting {model_name.upper()} model to market data")
339
339
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: voly
3
- Version: 0.0.60
3
+ Version: 0.0.61
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
File without changes