voly 0.0.55__py3-none-any.whl → 0.0.57__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/core/fit.py CHANGED
@@ -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
@@ -6,13 +6,13 @@ voly/models.py,sha256=LXXIlpXZQEfXTuCngxC8Hd3bWtw6wdXDCSGxTLmHM-c,3659
6
6
  voly/core/__init__.py,sha256=bu6fS2I1Pj9fPPnl-zY3L7NqrZSY5Zy6NY2uMUvdhKs,183
7
7
  voly/core/charts.py,sha256=T8cogkiHj8NcFxfARumNvAjLJUAxsMlHUOVgshwjye8,26474
8
8
  voly/core/data.py,sha256=e8qBArubNqPkrfuIYB_q2WhRf7TKzA4Z3FhMC-xyLEE,8862
9
- voly/core/fit.py,sha256=lveUqOeZEpIxlWWCdll6VvrdeDD9DmqJz_sg75-nGBQ,9888
9
+ voly/core/fit.py,sha256=aCF8ZWmGKCJN720hqz6JbfYq1NNFzEOfi3IP-fUCXX4,9894
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.55.dist-info/LICENSE,sha256=wcHIVbE12jfcBOai_wqBKY6xvNQU5E909xL1zZNq_2Q,1065
15
- voly-0.0.55.dist-info/METADATA,sha256=b_RmP48CAiYUHg9HpU31h25YdDF9hJlTvN6gjTB13rg,4092
16
- voly-0.0.55.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
17
- voly-0.0.55.dist-info/top_level.txt,sha256=ZfLw2sSxF-LrKAkgGjOmeTcw6_gD-30zvtdEY5W4B7c,5
18
- voly-0.0.55.dist-info/RECORD,,
14
+ voly-0.0.57.dist-info/LICENSE,sha256=wcHIVbE12jfcBOai_wqBKY6xvNQU5E909xL1zZNq_2Q,1065
15
+ voly-0.0.57.dist-info/METADATA,sha256=G-_VF5HjhYn9Wu8cWP_YVMwZ_IyldPq6CygB0DqPGsA,4092
16
+ voly-0.0.57.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
17
+ voly-0.0.57.dist-info/top_level.txt,sha256=ZfLw2sSxF-LrKAkgGjOmeTcw6_gD-30zvtdEY5W4B7c,5
18
+ voly-0.0.57.dist-info/RECORD,,
File without changes
File without changes