voly 0.0.84__py3-none-any.whl → 0.0.85__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
@@ -223,13 +223,13 @@ def get_iv_surface(model_results: pd.DataFrame,
223
223
  for i in model_results.index:
224
224
  # Calculate SVI total implied variance and convert to IV
225
225
  params = [
226
- fit_results.loc[i, 'a'],
227
- fit_results.loc[i, 'b'],
228
- fit_results.loc[i, 'sigma'],
229
- fit_results.loc[i, 'rho'],
230
- fit_results.loc[i, 'm']
226
+ model_results.loc[i, 'a'],
227
+ model_results.loc[i, 'b'],
228
+ model_results.loc[i, 'sigma'],
229
+ model_results.loc[i, 'rho'],
230
+ model_results.loc[i, 'm']
231
231
  ]
232
- ytm = fit_results.loc[i, 'ytm']
232
+ ytm = model_results.loc[i, 'ytm']
233
233
 
234
234
  # Calculate implied volatility
235
235
  w_svi = np.array([SVIModel.svi(x, *params) for x in log_moneyness_array])
@@ -240,8 +240,8 @@ def get_iv_surface(model_results: pd.DataFrame,
240
240
  x_surface[maturity] = get_x_domain(
241
241
  log_moneyness_params=log_moneyness_params,
242
242
  return_domain=return_domain,
243
- s=fit_results.loc[i, 's'],
244
- r=fit_results.loc[i, 'r'],
243
+ s=model_results.loc[i, 's'],
244
+ r=model_results.loc[i, 'r'],
245
245
  iv_array=iv_array,
246
246
  ytm=ytm
247
247
  )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: voly
3
- Version: 0.0.84
3
+ Version: 0.0.85
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=ycZgbPeROYVRMO61auVXCGLmKZA2NwS3vLOsQ9wqCyo,27526
8
8
  voly/core/data.py,sha256=JCPD44UDSJqh83jjapAtXVpJEHm8Hq4JC8lVhl5Zb4A,8935
9
- voly/core/fit.py,sha256=g6slA9rBC2_Pys5ipAYZNzfCdHdaZF8To8c4HBGHviQ,9549
9
+ voly/core/fit.py,sha256=2ibaVhObfW9neu1k5pKxaA9h0vos6xJS1e78b9NFz9w,9565
10
10
  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.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,,
14
+ voly-0.0.85.dist-info/LICENSE,sha256=wcHIVbE12jfcBOai_wqBKY6xvNQU5E909xL1zZNq_2Q,1065
15
+ voly-0.0.85.dist-info/METADATA,sha256=vFSYiXJ7a6y3WphjwkFKh9r4rLxj_BKz-THyNbq63Jk,4092
16
+ voly-0.0.85.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
17
+ voly-0.0.85.dist-info/top_level.txt,sha256=ZfLw2sSxF-LrKAkgGjOmeTcw6_gD-30zvtdEY5W4B7c,5
18
+ voly-0.0.85.dist-info/RECORD,,
File without changes
File without changes