voly 0.0.47__py3-none-any.whl → 0.0.48__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/client.py CHANGED
@@ -13,7 +13,7 @@ import plotly.graph_objects as go
13
13
 
14
14
  from voly.utils.logger import logger, catch_exception, setup_file_logging
15
15
  from voly.exceptions import VolyError
16
- from voly.models import SVIModel, svi, svi_d, svi_dd
16
+ from voly.models import SVIModel
17
17
  from voly.formulas import (
18
18
  d1, d2, bs, delta, gamma, vega, theta, rho, vanna, volga, charm, greeks, iv
19
19
  )
@@ -89,15 +89,15 @@ class VolyClient:
89
89
 
90
90
  @staticmethod
91
91
  def svi(log_moneyness_array: float, a: float, b: float, sigma: float, rho: float, m: float) -> float:
92
- return svi(log_moneyness_array, a, b, sigma, rho, m)
92
+ return SVIModel.svi(log_moneyness_array, a, b, sigma, rho, m)
93
93
 
94
94
  @staticmethod
95
95
  def svi_d(log_moneyness_array: float, a: float, b: float, sigma: float, rho: float, m: float) -> float:
96
- return svi_d(log_moneyness_array, a, b, sigma, rho, m)
96
+ return SVIModel.svi_d(log_moneyness_array, a, b, sigma, rho, m)
97
97
 
98
98
  @staticmethod
99
99
  def svi_dd(log_moneyness_array: float, a: float, b: float, sigma: float, rho: float, m: float) -> float:
100
- return svi_dd(log_moneyness_array, a, b, sigma, rho, m)
100
+ return SVIModel.svi_dd(log_moneyness_array, a, b, sigma, rho, m)
101
101
 
102
102
  @staticmethod
103
103
  def d1(s: float, k: float, r: float, vol: float, t: float,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: voly
3
- Version: 0.0.47
3
+ Version: 0.0.48
4
4
  Summary: Options & volatility research package
5
5
  Author-email: Manu de Cara <manu.de.cara@gmail.com>
6
6
  License: MIT
@@ -1,5 +1,5 @@
1
1
  voly/__init__.py,sha256=8xyDk7rFCn_MOD5hxuv5cxxKZvBVRiSIM7TgaMPpwpw,211
2
- voly/client.py,sha256=ZaDsvE3Y1V9GVutvwd59atV6EPC59zW9A6x0Uove-xk,20128
2
+ voly/client.py,sha256=qkNC9CAuO6XRW9NYFNVJCead04Nntly7acU4O7TDO1o,20135
3
3
  voly/exceptions.py,sha256=PBsbn1vNMvKcCJwwJ4lBO6glD85jo1h2qiEmD7ArAjs,92
4
4
  voly/formulas.py,sha256=XA8E19pKQtMWNUB6qB04laifsok9E0Wt7HVq4wNM6QE,8539
5
5
  voly/models.py,sha256=V2VI9yK-JyfKtI4nT5i42LQSwyGvexiymNiC2V1mQn4,3659
@@ -11,8 +11,8 @@ 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.47.dist-info/LICENSE,sha256=wcHIVbE12jfcBOai_wqBKY6xvNQU5E909xL1zZNq_2Q,1065
15
- voly-0.0.47.dist-info/METADATA,sha256=rJ8doNGVmcVG6tGW-MaVlxwIo_DAIwghP6YIcaZLLO0,4092
16
- voly-0.0.47.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
17
- voly-0.0.47.dist-info/top_level.txt,sha256=ZfLw2sSxF-LrKAkgGjOmeTcw6_gD-30zvtdEY5W4B7c,5
18
- voly-0.0.47.dist-info/RECORD,,
14
+ voly-0.0.48.dist-info/LICENSE,sha256=wcHIVbE12jfcBOai_wqBKY6xvNQU5E909xL1zZNq_2Q,1065
15
+ voly-0.0.48.dist-info/METADATA,sha256=wh8I_veTd38_APRaWlz82K0g257Ax2HQfNZjprlEIIw,4092
16
+ voly-0.0.48.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
17
+ voly-0.0.48.dist-info/top_level.txt,sha256=ZfLw2sSxF-LrKAkgGjOmeTcw6_gD-30zvtdEY5W4B7c,5
18
+ voly-0.0.48.dist-info/RECORD,,
File without changes
File without changes