voly 0.0.5__tar.gz → 0.0.7__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: voly
3
- Version: 0.0.5
3
+ Version: 0.0.7
4
4
  Summary: Options & volatility research package
5
5
  Author-email: Manu de Cara <manu.de.cara@gmail.com>
6
6
  License: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "voly"
7
- version = "0.0.5"
7
+ version = "0.0.7"
8
8
  description = "Options & volatility research package"
9
9
  readme = "README.md"
10
10
  authors = [
@@ -61,7 +61,7 @@ line_length = 100
61
61
  multi_line_output = 3
62
62
 
63
63
  [tool.mypy]
64
- python_version = "0.0.5"
64
+ python_version = "0.0.7"
65
65
  warn_return_any = true
66
66
  warn_unused_configs = true
67
67
  disallow_untyped_defs = true
@@ -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.7
4
4
  Summary: Options & volatility research package
5
5
  Author-email: Manu de Cara <manu.de.cara@gmail.com>
6
6
  License: MIT
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