voly 0.0.210__py3-none-any.whl → 0.0.211__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/formulas.py +2 -2
- {voly-0.0.210.dist-info → voly-0.0.211.dist-info}/METADATA +1 -1
- {voly-0.0.210.dist-info → voly-0.0.211.dist-info}/RECORD +6 -6
- {voly-0.0.210.dist-info → voly-0.0.211.dist-info}/WHEEL +0 -0
- {voly-0.0.210.dist-info → voly-0.0.211.dist-info}/licenses/LICENSE +0 -0
- {voly-0.0.210.dist-info → voly-0.0.211.dist-info}/top_level.txt +0 -0
voly/formulas.py
CHANGED
@@ -305,7 +305,7 @@ def get_domain(domain_params: Tuple[float, float, int] = (-1.5, 1.5, 1000),
|
|
305
305
|
elif return_domain == 'strikes':
|
306
306
|
if s is None:
|
307
307
|
raise ValueError("Spot price 's' is required for return_domain='strikes'.")
|
308
|
-
return
|
308
|
+
return np.exp(LM) * s
|
309
309
|
|
310
310
|
elif return_domain == 'delta':
|
311
311
|
# Check for required parameters
|
@@ -320,7 +320,7 @@ def get_domain(domain_params: Tuple[float, float, int] = (-1.5, 1.5, 1000),
|
|
320
320
|
f"Length 'o'={len(o)}, length 'LM'={len(LM)}")
|
321
321
|
|
322
322
|
# Compute strikes
|
323
|
-
K =
|
323
|
+
K = np.exp(LM) * s
|
324
324
|
|
325
325
|
# Compute deltas
|
326
326
|
D = delta(s, K, r, o, t, 'call')
|
@@ -1,7 +1,7 @@
|
|
1
1
|
voly/__init__.py,sha256=8xyDk7rFCn_MOD5hxuv5cxxKZvBVRiSIM7TgaMPpwpw,211
|
2
2
|
voly/client.py,sha256=0kp2_I-imcJ6uxMcvS0BipS2PgWdFaCPZG5335Vg75Q,14383
|
3
3
|
voly/exceptions.py,sha256=PBsbn1vNMvKcCJwwJ4lBO6glD85jo1h2qiEmD7ArAjs,92
|
4
|
-
voly/formulas.py,sha256=
|
4
|
+
voly/formulas.py,sha256=Jn9hBoIx6PGv9k4lm8PeGM4lxFJkrLau8LpnXatdQPM,11176
|
5
5
|
voly/models.py,sha256=tcilQxvUwObN41ar0j3pBmsw9Q5ddFRIa_LvrqNPx3Q,9305
|
6
6
|
voly/core/__init__.py,sha256=bu6fS2I1Pj9fPPnl-zY3L7NqrZSY5Zy6NY2uMUvdhKs,183
|
7
7
|
voly/core/charts.py,sha256=2S-BfCo30aj1_xlNLqF-za5rQWxF_mWKIdtdOe5bgbw,12735
|
@@ -13,8 +13,8 @@ voly/core/rnd.py,sha256=GoC3m1Q46Wnk5tV_mstr-3_aktHeue6BBLh4DQTciW0,13307
|
|
13
13
|
voly/utils/__init__.py,sha256=E05mWatyC-PDOsCxQV1p5Xi1IgpOomxrNURyCx_gB-w,200
|
14
14
|
voly/utils/density.py,sha256=q0fX4im9TGwMCZ32Hzdv8CNh56KnJo8bmG5w0gVWZH8,5879
|
15
15
|
voly/utils/logger.py,sha256=4-_2bVJmq17Q0d7Rd2mPg1AeR8gxv6EPvcmBDMFWcSM,1744
|
16
|
-
voly-0.0.
|
17
|
-
voly-0.0.
|
18
|
-
voly-0.0.
|
19
|
-
voly-0.0.
|
20
|
-
voly-0.0.
|
16
|
+
voly-0.0.211.dist-info/licenses/LICENSE,sha256=wcHIVbE12jfcBOai_wqBKY6xvNQU5E909xL1zZNq_2Q,1065
|
17
|
+
voly-0.0.211.dist-info/METADATA,sha256=YbOkH_HMI6I8EqazfJcyIryx-JXBmksBXYaARw8sE0Y,4115
|
18
|
+
voly-0.0.211.dist-info/WHEEL,sha256=pxyMxgL8-pra_rKaQ4drOZAegBVuX-G_4nRHjjgWbmo,91
|
19
|
+
voly-0.0.211.dist-info/top_level.txt,sha256=ZfLw2sSxF-LrKAkgGjOmeTcw6_gD-30zvtdEY5W4B7c,5
|
20
|
+
voly-0.0.211.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|