voly 0.0.18__tar.gz → 0.0.20__tar.gz
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-0.0.18/src/voly.egg-info → voly-0.0.20}/PKG-INFO +1 -1
- {voly-0.0.18 → voly-0.0.20}/pyproject.toml +2 -2
- {voly-0.0.18 → voly-0.0.20}/src/voly/client.py +1 -1
- voly-0.0.20/src/voly/core/__init__.py +7 -0
- {voly-0.0.18 → voly-0.0.20}/src/voly/core/fit.py +1 -1
- {voly-0.0.18 → voly-0.0.20/src/voly.egg-info}/PKG-INFO +1 -1
- voly-0.0.18/src/voly/core/__init__.py +0 -11
- {voly-0.0.18 → voly-0.0.20}/LICENSE +0 -0
- {voly-0.0.18 → voly-0.0.20}/README.md +0 -0
- {voly-0.0.18 → voly-0.0.20}/setup.cfg +0 -0
- {voly-0.0.18 → voly-0.0.20}/setup.py +0 -0
- {voly-0.0.18 → voly-0.0.20}/src/voly/__init__.py +0 -0
- {voly-0.0.18 → voly-0.0.20}/src/voly/core/charts.py +0 -0
- {voly-0.0.18 → voly-0.0.20}/src/voly/core/data.py +0 -0
- {voly-0.0.18 → voly-0.0.20}/src/voly/core/interpolate.py +0 -0
- {voly-0.0.18 → voly-0.0.20}/src/voly/core/rnd.py +0 -0
- {voly-0.0.18 → voly-0.0.20}/src/voly/exceptions.py +0 -0
- {voly-0.0.18 → voly-0.0.20}/src/voly/formulas.py +0 -0
- {voly-0.0.18 → voly-0.0.20}/src/voly/models.py +0 -0
- {voly-0.0.18 → voly-0.0.20}/src/voly/utils/__init__.py +0 -0
- {voly-0.0.18 → voly-0.0.20}/src/voly/utils/logger.py +0 -0
- {voly-0.0.18 → voly-0.0.20}/src/voly.egg-info/SOURCES.txt +0 -0
- {voly-0.0.18 → voly-0.0.20}/src/voly.egg-info/dependency_links.txt +0 -0
- {voly-0.0.18 → voly-0.0.20}/src/voly.egg-info/requires.txt +0 -0
- {voly-0.0.18 → voly-0.0.20}/src/voly.egg-info/top_level.txt +0 -0
- {voly-0.0.18 → voly-0.0.20}/tests/test_client.py +0 -0
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "voly"
|
|
7
|
-
version = "0.0.
|
|
7
|
+
version = "0.0.20"
|
|
8
8
|
description = "Options & volatility research package"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
authors = [
|
|
@@ -60,7 +60,7 @@ line_length = 100
|
|
|
60
60
|
multi_line_output = 3
|
|
61
61
|
|
|
62
62
|
[tool.mypy]
|
|
63
|
-
python_version = "0.0.
|
|
63
|
+
python_version = "0.0.20"
|
|
64
64
|
warn_return_any = true
|
|
65
65
|
warn_unused_configs = true
|
|
66
66
|
disallow_untyped_defs = true
|
|
@@ -324,7 +324,7 @@ class VolyClient:
|
|
|
324
324
|
@staticmethod
|
|
325
325
|
def get_surface(param_matrix: pd.DataFrame,
|
|
326
326
|
moneyness_params: Tuple[float, float, int] = (-2, 2, 500)
|
|
327
|
-
) ->
|
|
327
|
+
) -> Dict[str, Any]:
|
|
328
328
|
"""
|
|
329
329
|
Generate implied volatility surface using optimized SVI parameters.
|
|
330
330
|
|
|
@@ -267,7 +267,7 @@ def fit_model(market_data: pd.DataFrame,
|
|
|
267
267
|
@catch_exception
|
|
268
268
|
def get_surface(param_matrix: pd.DataFrame,
|
|
269
269
|
moneyness_params: Tuple[float, float, int] = (-2, 2, 500)
|
|
270
|
-
) ->
|
|
270
|
+
) -> Dict[str, Any]:
|
|
271
271
|
"""
|
|
272
272
|
Generate implied volatility surface using optimized SVI parameters.
|
|
273
273
|
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"""
|
|
2
|
-
Core functionality for the Voly package.
|
|
3
|
-
|
|
4
|
-
This module contains the core functions for data fetching,
|
|
5
|
-
model fitting, surface interpolation, and risk-neutral density
|
|
6
|
-
estimation.
|
|
7
|
-
"""
|
|
8
|
-
|
|
9
|
-
from voly.core.data import get_deribit_data, process_option_chain
|
|
10
|
-
from voly.core.fit import optimize_svi_parameters, create_parameters_matrix
|
|
11
|
-
from voly.core.rnd import calculate_risk_neutral_density
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|