voly 0.0.55__tar.gz → 0.0.57__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.55
3
+ Version: 0.0.57
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.55"
7
+ version = "0.0.57"
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.55"
63
+ python_version = "0.0.57"
64
64
  warn_return_any = true
65
65
  warn_unused_configs = true
66
66
  disallow_untyped_defs = true
@@ -84,7 +84,7 @@ def fit_svi_parameters(market_data: pd.DataFrame,
84
84
  'mae': [],
85
85
  'r2': [],
86
86
  'max_error': [],
87
- 'n_point': []
87
+ 'n_points': []
88
88
  }
89
89
 
90
90
  # Dictionary to store parameters
@@ -139,7 +139,7 @@ def fit_svi_parameters(market_data: pd.DataFrame,
139
139
  num_points = len(maturity_data)
140
140
 
141
141
  # Add to fit data
142
- fit_data['maturity'].append(maturity_name)
142
+ fit_data['maturity_name'].append(maturity_name)
143
143
  fit_data['dtm'].append(dtm)
144
144
  fit_data['ytm'].append(ytm)
145
145
  fit_data['fit_success'].append(result.success)
@@ -178,7 +178,7 @@ def create_parameters_matrix(params_dict: Dict[str, Dict]) -> Tuple[pd.DataFrame
178
178
  1. Raw SVI parameters (a, b, sigma, rho, m)
179
179
  2. Jump-Wing parameters (nu, psi, p, c, nu_tilde)
180
180
  """
181
- # Get maturity names in order by DTE
181
+ # Get maturity names in order by dtm
182
182
  maturity_names = sorted(params_dict.keys(),
183
183
  key=lambda x: params_dict[x]['dtm'])
184
184
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: voly
3
- Version: 0.0.55
3
+ Version: 0.0.57
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