voly 0.0.34__tar.gz → 0.0.35__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.34
3
+ Version: 0.0.35
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.34"
7
+ version = "0.0.35"
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.34"
63
+ python_version = "0.0.35"
64
64
  warn_return_any = true
65
65
  warn_unused_configs = true
66
66
  disallow_untyped_defs = true
@@ -401,13 +401,13 @@ class VolyClient:
401
401
  logger.info("Calculating risk-neutral density")
402
402
 
403
403
  # Generate the surface
404
- moneyness_array, iv_surface = get_rnd(
404
+ moneyness_array, rnd_values = get_rnd(
405
405
  svi_params_list=svi_params_list,
406
406
  moneyness_params=moneyness_params
407
407
  )
408
408
 
409
409
  return {
410
- 'moneyness_grid': moneyness_array,
410
+ 'moneyness_array': moneyness_array,
411
411
  'rnd_values': rnd_values
412
412
  }
413
413
 
@@ -426,16 +426,12 @@ class VolyClient:
426
426
  logger.info("Calculating risk-neutral density")
427
427
 
428
428
  # Generate the surface
429
- moneyness_array, iv_surface = get_rnd_surface(
429
+ rnd_values = get_rnd_surface(
430
430
  fit_results=fit_results,
431
431
  moneyness_params=moneyness_params
432
432
  )
433
433
 
434
- return {
435
- 'moneyness_grid': moneyness_grid,
436
- 'rnd_values': rnd_values
437
- }
438
-
434
+ return rnd_values
439
435
 
440
436
  @staticmethod
441
437
  def pdf(rnd_results: Dict[str, Any],
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: voly
3
- Version: 0.0.34
3
+ Version: 0.0.35
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