openqdata 0.3.0__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.
Files changed (75) hide show
  1. openqdata/README.md +5 -0
  2. openqdata/__init__.py +15 -0
  3. openqdata/arbfree/README.md +5 -0
  4. openqdata/arbfree/__init__.py +9 -0
  5. openqdata/arbfree/arbfree.py +1494 -0
  6. openqdata/arbfree/sanos.py +316 -0
  7. openqdata/arbfree/sanos_tools.py +958 -0
  8. openqdata/arbfree/tridiag.py +85 -0
  9. openqdata/benchmark/README.md +5 -0
  10. openqdata/benchmark/__init__.py +4 -0
  11. openqdata/biz_calendar.py +506 -0
  12. openqdata/cli.py +91 -0
  13. openqdata/env.py +112 -0
  14. openqdata/fred/README.md +5 -0
  15. openqdata/fred/__init__.py +14 -0
  16. openqdata/fred/client.py +57 -0
  17. openqdata/fred/rates.py +162 -0
  18. openqdata/massive/README.md +5 -0
  19. openqdata/massive/__init__.py +15 -0
  20. openqdata/massive/client.py +1183 -0
  21. openqdata/massive/expiries.py +242 -0
  22. openqdata/massive/options/README.md +5 -0
  23. openqdata/massive/options/__init__.py +6 -0
  24. openqdata/massive/options/contracts.py +610 -0
  25. openqdata/massive/processing.py +447 -0
  26. openqdata/massive/testing/README.md +5 -0
  27. openqdata/massive/testing/__init__.py +8 -0
  28. openqdata/massive/testing/generate.py +61 -0
  29. openqdata/massive/testing/scope.py +8 -0
  30. openqdata/massive/tickers/README.md +5 -0
  31. openqdata/massive/tickers/__init__.py +5 -0
  32. openqdata/massive/tickers/basics.py +66 -0
  33. openqdata/massive/tickers/data.py +362 -0
  34. openqdata/massive/tickers/filtered_history.py +260 -0
  35. openqdata/massive/trade_conds.py +324 -0
  36. openqdata/models/README.md +5 -0
  37. openqdata/models/__init__.py +4 -0
  38. openqdata/pool.py +34 -0
  39. openqdata/tickers/README.md +5 -0
  40. openqdata/tickers/__init__.py +13 -0
  41. openqdata/tickers/ticker_calendar.py +370 -0
  42. openqdata/utils/README.md +3 -0
  43. openqdata/utils/__init__.py +35 -0
  44. openqdata/utils/cvxpy.py +47 -0
  45. openqdata/utils/pd.py +125 -0
  46. openqdata/utils/pl.py +114 -0
  47. openqdata/vixdata/README.md +5 -0
  48. openqdata/vixdata/__init__.py +6 -0
  49. openqdata/vixdata/cboe.py +119 -0
  50. openqdata/vixdata/client.py +44 -0
  51. openqdata/vixdata/formula.py +132 -0
  52. openqdata/widb/README.md +5 -0
  53. openqdata/widb/__init__.py +25 -0
  54. openqdata/widb/arbfree.py +581 -0
  55. openqdata/widb/bad.py +69 -0
  56. openqdata/widb/client.py +517 -0
  57. openqdata/widb/connection.py +72 -0
  58. openqdata/widb/day.py +1098 -0
  59. openqdata/widb/fitstats.py +328 -0
  60. openqdata/widb/options_filter.py +338 -0
  61. openqdata/widb/sanos.py +96 -0
  62. openqdata/widb/testing/README.md +5 -0
  63. openqdata/widb/testing/__init__.py +0 -0
  64. openqdata/widb/testing/generate.py +45 -0
  65. openqdata/widb/testing/scope.py +8 -0
  66. openqdata/widb/timeseries.py +434 -0
  67. openqdata/yahoo/README.md +5 -0
  68. openqdata/yahoo/__init__.py +8 -0
  69. openqdata/yahoo/client.py +229 -0
  70. openqdata-0.3.0.dist-info/METADATA +103 -0
  71. openqdata-0.3.0.dist-info/RECORD +75 -0
  72. openqdata-0.3.0.dist-info/WHEEL +5 -0
  73. openqdata-0.3.0.dist-info/licenses/LICENSE +131 -0
  74. openqdata-0.3.0.dist-info/licenses/NOTICE +1 -0
  75. openqdata-0.3.0.dist-info/top_level.txt +1 -0
openqdata/README.md ADDED
@@ -0,0 +1,5 @@
1
+ # openqdata
2
+
3
+ Shared infrastructure: storage locations and caching (`env`), NYSE business-day calendar and the `NMS` (≈1 hour) and `NMS5` (5 business days) moneyness scales (`biz_calendar`), worker pools (`pool`) and the command-line adapter (`cli`).
4
+
5
+ Documentation: [getting-started.md](https://github.com/hansbuehler/openqdata/blob/main/docs/getting-started.md)
openqdata/__init__.py ADDED
@@ -0,0 +1,15 @@
1
+ """Systematic market-data access and processing for academic research."""
2
+ from pkgutil import extend_path
3
+
4
+ from cdxcore.pretty import PrettyObject
5
+ from cdxcore.subdir import CacheController, CacheMode, SubDir, version
6
+ from cdxcore.verbose import Context
7
+
8
+ from openqdata.env import Environment, Locations, env
9
+
10
+ __all__ = ["CacheController", "CacheMode", "Context", "Environment", "Locations", "PrettyObject", "SubDir", "env", "version"]
11
+
12
+ __version__ = "0.3.0"
13
+
14
+ # Discover optional openqdata extension packages in separate installations.
15
+ __path__ = extend_path(__path__, __name__)
@@ -0,0 +1,5 @@
1
+ # openqdata.arbfree
2
+
3
+ Arbitrage-free option surfaces: `MkArbFree`/`ArbFreePricer` (linear DLV and SANOS fits), `SanosFitter`, and the LP solver.
4
+
5
+ Documentation: [arbfree.md](https://github.com/hansbuehler/openqdata/blob/main/docs/arbfree.md)
@@ -0,0 +1,9 @@
1
+ """
2
+ SANOS Smooth Arbitrage-free Non-parametruc Option Surfaces
3
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4
+
5
+ [SANOS](https://arxiv.org/abs/2601.11209) is a rather generic no-arbitrage framework which can accomodate any number of model strikes and expires,
6
+ potentially depending on market data for example when used in "interpolation mode" as in https://arxiv.org/pdf/2601.11209.
7
+ """
8
+
9
+ IMPOSE_FLOOR_ON_DENSITY = False