voly 0.0.5__py3-none-any.whl → 0.0.6__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/rnd.py CHANGED
@@ -9,7 +9,7 @@ from typing import Dict, List, Tuple, Optional, Union, Any
9
9
  from voly.utils.logger import logger, catch_exception
10
10
  from voly.exceptions import VolyError
11
11
  from voly.models import SVIModel
12
- from voly.formulas import rnd_base
12
+ from voly.formulas import rnd
13
13
 
14
14
 
15
15
  @catch_exception
@@ -36,7 +36,7 @@ def calculate_risk_neutral_density(
36
36
  total_var = np.array([model.svi(x, a, b, sigma, rho, m) for x in log_moneyness])
37
37
 
38
38
  # Calculate risk-neutral density using the base RND function
39
- rnd_values = np.array([rnd_base(x, var) for x, var in zip(log_moneyness, total_var)])
39
+ rnd_values = np.array([rnd(x, var) for x, var in zip(log_moneyness, total_var)])
40
40
 
41
41
  return rnd_values
42
42
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: voly
3
- Version: 0.0.5
3
+ Version: 0.0.6
4
4
  Summary: Options & volatility research package
5
5
  Author-email: Manu de Cara <manu.de.cara@gmail.com>
6
6
  License: MIT
@@ -8,11 +8,11 @@ voly/core/charts.py,sha256=GF55IS-aZfcc_0yoSPRPIPBPcJhFD1El18wNCo_mI_A,29918
8
8
  voly/core/data.py,sha256=mryxslHXDAA7FGAueXoxiYsuzDn0GsRizug2T7hEd7w,11319
9
9
  voly/core/fit.py,sha256=JSQuEkdriVdilcIPAJaieZUofYdCfSGJ5wVB1wRBfVs,11280
10
10
  voly/core/interpolate.py,sha256=ztVIePJZOh-CIbn69wkh1JW2rKywNe2FEewRN0zcSAo,8185
11
- voly/core/rnd.py,sha256=84LGLcS1v0aC7QbN0fCmMl-np0FsoJLJOH6lgNuxkUA,12165
11
+ voly/core/rnd.py,sha256=-xBVzvM9sMIBtfOfWyBJKtiVcBShSGTNNp2PZFOD5j0,12155
12
12
  voly/utils/__init__.py,sha256=E05mWatyC-PDOsCxQV1p5Xi1IgpOomxrNURyCx_gB-w,200
13
13
  voly/utils/logger.py,sha256=mujudi610WveZoGJJzoBtGbraFNJUzwWFTza645j08U,1821
14
- voly-0.0.5.dist-info/LICENSE,sha256=wcHIVbE12jfcBOai_wqBKY6xvNQU5E909xL1zZNq_2Q,1065
15
- voly-0.0.5.dist-info/METADATA,sha256=G_gWbqieJ1zMiLd7NQ0s4ujd70XR0i0F3TdO0lwKwWw,4136
16
- voly-0.0.5.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
17
- voly-0.0.5.dist-info/top_level.txt,sha256=ZfLw2sSxF-LrKAkgGjOmeTcw6_gD-30zvtdEY5W4B7c,5
18
- voly-0.0.5.dist-info/RECORD,,
14
+ voly-0.0.6.dist-info/LICENSE,sha256=wcHIVbE12jfcBOai_wqBKY6xvNQU5E909xL1zZNq_2Q,1065
15
+ voly-0.0.6.dist-info/METADATA,sha256=6fEs5YSUqgQQuiPttpyQBLgOklydkuFrmvAihEqKpAo,4136
16
+ voly-0.0.6.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
17
+ voly-0.0.6.dist-info/top_level.txt,sha256=ZfLw2sSxF-LrKAkgGjOmeTcw6_gD-30zvtdEY5W4B7c,5
18
+ voly-0.0.6.dist-info/RECORD,,
File without changes
File without changes