voly 0.0.87__py3-none-any.whl → 0.0.90__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 +2 -3
- voly/core/fit.py +1 -1
- voly/core/rnd.py +1 -1
- voly/models.py +0 -4
- {voly-0.0.87.dist-info → voly-0.0.90.dist-info}/METADATA +1 -1
- {voly-0.0.87.dist-info → voly-0.0.90.dist-info}/RECORD +9 -9
- {voly-0.0.87.dist-info → voly-0.0.90.dist-info}/LICENSE +0 -0
- {voly-0.0.87.dist-info → voly-0.0.90.dist-info}/WHEEL +0 -0
- {voly-0.0.87.dist-info → voly-0.0.90.dist-info}/top_level.txt +0 -0
voly/client.py
CHANGED
|
@@ -19,12 +19,11 @@ from voly.formulas import (
|
|
|
19
19
|
)
|
|
20
20
|
from voly.core.data import fetch_option_chain, process_option_chain
|
|
21
21
|
from voly.core.fit import fit_model, get_iv_surface
|
|
22
|
-
from voly.core.rnd import get_rnd_surface
|
|
22
|
+
from voly.core.rnd import get_rnd_surface
|
|
23
23
|
from voly.core.interpolate import interpolate_model
|
|
24
24
|
from voly.core.charts import (
|
|
25
25
|
plot_all_smiles, plot_raw_parameters, plot_jw_parameters, plot_fit_performance, plot_3d_surface,
|
|
26
|
-
plot_fit_performance
|
|
27
|
-
plot_rnd_3d, plot_rnd_statistics, plot_interpolated_surface
|
|
26
|
+
plot_fit_performance
|
|
28
27
|
)
|
|
29
28
|
|
|
30
29
|
|
voly/core/fit.py
CHANGED
|
@@ -11,7 +11,7 @@ from typing import List, Tuple, Dict, Optional, Union, Any
|
|
|
11
11
|
from scipy.optimize import least_squares
|
|
12
12
|
from sklearn.metrics import mean_squared_error, mean_absolute_error, r2_score
|
|
13
13
|
from voly.utils.logger import logger, catch_exception
|
|
14
|
-
from voly.formulas import
|
|
14
|
+
from voly.formulas import get_domain
|
|
15
15
|
from voly.exceptions import VolyError
|
|
16
16
|
from voly.models import SVIModel
|
|
17
17
|
import warnings
|
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
|
|
12
|
+
from voly.formulas import get_domain
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
# Breeden-Litzenberger Method
|
voly/models.py
CHANGED
|
@@ -5,10 +5,6 @@ Volatility models for the Voly package.
|
|
|
5
5
|
import numpy as np
|
|
6
6
|
from typing import Tuple, Dict, List, Optional, Union
|
|
7
7
|
|
|
8
|
-
# Configuration settings
|
|
9
|
-
DEFAULT_MONEYNESS_RANGE = (-2, 2)
|
|
10
|
-
DEFAULT_MONEYNESS_POINTS = 500
|
|
11
|
-
|
|
12
8
|
class SVIModel:
|
|
13
9
|
"""
|
|
14
10
|
Stochastic Volatility Inspired (SVI) model.
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
voly/__init__.py,sha256=8xyDk7rFCn_MOD5hxuv5cxxKZvBVRiSIM7TgaMPpwpw,211
|
|
2
|
-
voly/client.py,sha256=
|
|
2
|
+
voly/client.py,sha256=M_XmGQAheVSPOBJPXVYJzm1s8ZOcBZ6keeZhb9Yu0R4,15367
|
|
3
3
|
voly/exceptions.py,sha256=PBsbn1vNMvKcCJwwJ4lBO6glD85jo1h2qiEmD7ArAjs,92
|
|
4
4
|
voly/formulas.py,sha256=6T0CuCtJpDp8nq0MUJ_3fA_su8nL4yfCU2H3m3_Sc_s,11699
|
|
5
|
-
voly/models.py,sha256=
|
|
5
|
+
voly/models.py,sha256=Vs69QZYQ_Tt6hkaZ6Mfnq3II1dHDqQrZTzBNiaOIbwo,3516
|
|
6
6
|
voly/core/__init__.py,sha256=bu6fS2I1Pj9fPPnl-zY3L7NqrZSY5Zy6NY2uMUvdhKs,183
|
|
7
7
|
voly/core/charts.py,sha256=5PgunB8oVPoD5R9eIjc9efCbc6d9C5yswO2yG1qj8uo,12734
|
|
8
8
|
voly/core/data.py,sha256=OzWbzmMQN4CEG8lUdwMK2RrnvEjkJrNcMDMv4JDRewA,8871
|
|
9
|
-
voly/core/fit.py,sha256=
|
|
9
|
+
voly/core/fit.py,sha256=VkvuFYE1e_CfdH4-zg32CNYtkhyKOEsZ3-RMWO16My0,9247
|
|
10
10
|
voly/core/interpolate.py,sha256=JkK172-FXyhesW3hY4pEeuJWG3Bugq7QZXbeKoRpLuo,5305
|
|
11
|
-
voly/core/rnd.py,sha256=
|
|
11
|
+
voly/core/rnd.py,sha256=yNkQuiiw--exiJLHa9Wd9zy5sZN5_QJ3itKmr04zg-Q,10047
|
|
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.
|
|
15
|
-
voly-0.0.
|
|
16
|
-
voly-0.0.
|
|
17
|
-
voly-0.0.
|
|
18
|
-
voly-0.0.
|
|
14
|
+
voly-0.0.90.dist-info/LICENSE,sha256=wcHIVbE12jfcBOai_wqBKY6xvNQU5E909xL1zZNq_2Q,1065
|
|
15
|
+
voly-0.0.90.dist-info/METADATA,sha256=nh-0XhZV42gnuTjWJhkmV6YxefEg-r757Jbflh-AvRE,4092
|
|
16
|
+
voly-0.0.90.dist-info/WHEEL,sha256=beeZ86-EfXScwlR_HKu4SllMC9wUEj_8Z_4FJ3egI2w,91
|
|
17
|
+
voly-0.0.90.dist-info/top_level.txt,sha256=ZfLw2sSxF-LrKAkgGjOmeTcw6_gD-30zvtdEY5W4B7c,5
|
|
18
|
+
voly-0.0.90.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|