squarequant 0.2.0__tar.gz → 0.2.2__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.
Files changed (24) hide show
  1. {squarequant-0.2.0/squarequant.egg-info → squarequant-0.2.2}/PKG-INFO +3 -2
  2. squarequant-0.2.0/squarequant/__init__.py → squarequant-0.2.2/setup.py +4 -3
  3. squarequant-0.2.2/squarequant/__init__.py +52 -0
  4. {squarequant-0.2.0 → squarequant-0.2.2/squarequant.egg-info}/PKG-INFO +3 -2
  5. {squarequant-0.2.0 → squarequant-0.2.2}/squarequant.egg-info/requires.txt +1 -0
  6. squarequant-0.2.0/setup.py +0 -59
  7. {squarequant-0.2.0 → squarequant-0.2.2}/LICENSE +0 -0
  8. {squarequant-0.2.0 → squarequant-0.2.2}/README.md +0 -0
  9. {squarequant-0.2.0 → squarequant-0.2.2}/setup.cfg +0 -0
  10. {squarequant-0.2.0 → squarequant-0.2.2}/squarequant/api.py +0 -0
  11. {squarequant-0.2.0 → squarequant-0.2.2}/squarequant/constants.py +0 -0
  12. {squarequant-0.2.0 → squarequant-0.2.2}/squarequant/core/__init__.py +0 -0
  13. {squarequant-0.2.0 → squarequant-0.2.2}/squarequant/core/base.py +0 -0
  14. {squarequant-0.2.0 → squarequant-0.2.2}/squarequant/core/metrics.py +0 -0
  15. {squarequant-0.2.0 → squarequant-0.2.2}/squarequant/data/__init__.py +0 -0
  16. {squarequant-0.2.0 → squarequant-0.2.2}/squarequant/data/data.py +0 -0
  17. {squarequant-0.2.0 → squarequant-0.2.2}/squarequant/utils/__init__.py +0 -0
  18. {squarequant-0.2.0 → squarequant-0.2.2}/squarequant/utils/helpers.py +0 -0
  19. {squarequant-0.2.0 → squarequant-0.2.2}/squarequant/var/__init__.py +0 -0
  20. {squarequant-0.2.0 → squarequant-0.2.2}/squarequant/var/tetstvar.py +0 -0
  21. {squarequant-0.2.0 → squarequant-0.2.2}/squarequant/var/valueatrisk.py +0 -0
  22. {squarequant-0.2.0 → squarequant-0.2.2}/squarequant.egg-info/SOURCES.txt +0 -0
  23. {squarequant-0.2.0 → squarequant-0.2.2}/squarequant.egg-info/dependency_links.txt +0 -0
  24. {squarequant-0.2.0 → squarequant-0.2.2}/squarequant.egg-info/top_level.txt +0 -0
@@ -1,13 +1,13 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: squarequant
3
- Version: 0.2.0
3
+ Version: 0.2.2
4
4
  Summary: A Python package for financial risk metrics and stock data analysis
5
5
  Home-page: https://github.com/SquareQuant/squarequant-package
6
6
  Author: Gabriel Bosch
7
7
  Author-email: contact@squarequant.org
8
8
  Project-URL: Documentation, https://www.squarequant.org
9
9
  Project-URL: Bug Tracker, https://github.com/SquareQuant/squarequant-package/issues
10
- Keywords: finance,risk,portfolio,investment,stocks,analysis,visualization,drawdown,var,cvar,entropic,ulcer index
10
+ Keywords: finance,risk,portfolio,investment,stocks,analysis,visualization,drawdown,var,cvar,entropic,ulcer index,theta data
11
11
  Classifier: Programming Language :: Python :: 3
12
12
  Classifier: Programming Language :: Python :: 3.7
13
13
  Classifier: Programming Language :: Python :: 3.8
@@ -31,6 +31,7 @@ Requires-Dist: scipy>=1.5.0
31
31
  Requires-Dist: scikit-learn>=1.5.0
32
32
  Requires-Dist: matplotlib>=3.3.0
33
33
  Requires-Dist: statsmodels>=0.12.0
34
+ Requires-Dist: requests>=2.25.0
34
35
  Provides-Extra: optimization
35
36
  Requires-Dist: cvxpy>=1.0.0; extra == "optimization"
36
37
  Provides-Extra: dev
@@ -5,7 +5,7 @@ with open("README.md", "r", encoding="utf-8") as fh:
5
5
 
6
6
  setup(
7
7
  name="squarequant",
8
- version="0.2.0", # Updated version
8
+ version="0.2.2",
9
9
  author="Gabriel Bosch",
10
10
  author_email="contact@squarequant.org",
11
11
  description="A Python package for financial risk metrics and stock data analysis",
@@ -39,8 +39,9 @@ setup(
39
39
  "yfinance>=0.1.63",
40
40
  "scipy>=1.5.0",
41
41
  "scikit-learn>=1.5.0",
42
- "requests>=2.25.0", # Added for Theta data provider
42
+ "matplotlib>=3.3.0",
43
43
  "statsmodels>=0.12.0",
44
+ "requests>=2.25.0", # Added for Theta data provider
44
45
  ],
45
46
  extras_require={
46
47
  "optimization": ["cvxpy>=1.0.0"],
@@ -55,5 +56,5 @@ setup(
55
56
  "pytest-cov>=2.12.0",
56
57
  ],
57
58
  },
58
- keywords="finance, risk, portfolio, investment, stocks, analysis, var, cvar, entropic, ulcer index, drawdown, theta data",
59
+ keywords="finance, risk, portfolio, investment, stocks, analysis, visualization, drawdown, var, cvar, entropic, ulcer index, theta data",
59
60
  )
@@ -0,0 +1,52 @@
1
+ """
2
+ SquareQuant - A Python package for financial risk metrics and stock data analysis
3
+
4
+ A comprehensive toolkit for quantitative finance, including risk metrics calculation
5
+ and data retrieval from multiple sources (YFinance and Theta Data).
6
+ """
7
+
8
+ # Version information
9
+ __version__ = "0.2.2"
10
+ __author__ = "Gabriel Bosch"
11
+ __email__ = "contact@squarequant.org"
12
+
13
+ # Import main functionality to make it available at the package level
14
+ from .data.data import download_tickers, DownloadConfig
15
+ from .api import (
16
+ sharpe,
17
+ sortino,
18
+ vol,
19
+ mdd,
20
+ calmar,
21
+ var,
22
+ cvar,
23
+ semidev,
24
+ avgdd,
25
+ ulcer,
26
+ mad,
27
+ erm,
28
+ evar,
29
+ cdar,
30
+ edar
31
+ )
32
+
33
+ # Define what's available when using "from squarequant import *"
34
+ __all__ = [
35
+ 'download_tickers',
36
+ 'DownloadConfig',
37
+ 'sharpe',
38
+ 'sortino',
39
+ 'vol',
40
+ 'mdd',
41
+ 'calmar',
42
+ 'var',
43
+ 'cvar',
44
+ 'semidev',
45
+ 'avgdd',
46
+ 'ulcer',
47
+ 'mad',
48
+ 'erm',
49
+ 'evar',
50
+ 'cdar',
51
+ 'edar'
52
+ ]
@@ -1,13 +1,13 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: squarequant
3
- Version: 0.2.0
3
+ Version: 0.2.2
4
4
  Summary: A Python package for financial risk metrics and stock data analysis
5
5
  Home-page: https://github.com/SquareQuant/squarequant-package
6
6
  Author: Gabriel Bosch
7
7
  Author-email: contact@squarequant.org
8
8
  Project-URL: Documentation, https://www.squarequant.org
9
9
  Project-URL: Bug Tracker, https://github.com/SquareQuant/squarequant-package/issues
10
- Keywords: finance,risk,portfolio,investment,stocks,analysis,visualization,drawdown,var,cvar,entropic,ulcer index
10
+ Keywords: finance,risk,portfolio,investment,stocks,analysis,visualization,drawdown,var,cvar,entropic,ulcer index,theta data
11
11
  Classifier: Programming Language :: Python :: 3
12
12
  Classifier: Programming Language :: Python :: 3.7
13
13
  Classifier: Programming Language :: Python :: 3.8
@@ -31,6 +31,7 @@ Requires-Dist: scipy>=1.5.0
31
31
  Requires-Dist: scikit-learn>=1.5.0
32
32
  Requires-Dist: matplotlib>=3.3.0
33
33
  Requires-Dist: statsmodels>=0.12.0
34
+ Requires-Dist: requests>=2.25.0
34
35
  Provides-Extra: optimization
35
36
  Requires-Dist: cvxpy>=1.0.0; extra == "optimization"
36
37
  Provides-Extra: dev
@@ -5,6 +5,7 @@ scipy>=1.5.0
5
5
  scikit-learn>=1.5.0
6
6
  matplotlib>=3.3.0
7
7
  statsmodels>=0.12.0
8
+ requests>=2.25.0
8
9
 
9
10
  [dev]
10
11
  pytest>=6.0.0
@@ -1,59 +0,0 @@
1
- from setuptools import setup, find_packages
2
-
3
- with open("README.md", "r", encoding="utf-8") as fh:
4
- long_description = fh.read()
5
-
6
- setup(
7
- name="squarequant",
8
- version="0.2.0",
9
- author="Gabriel Bosch",
10
- author_email="contact@squarequant.org",
11
- description="A Python package for financial risk metrics and stock data analysis",
12
- long_description=long_description,
13
- long_description_content_type="text/markdown",
14
- url="https://github.com/SquareQuant/squarequant-package",
15
- project_urls={
16
- "Documentation": "https://www.squarequant.org",
17
- "Bug Tracker": "https://github.com/SquareQuant/squarequant-package/issues",
18
- },
19
- packages=find_packages(),
20
- classifiers=[
21
- "Programming Language :: Python :: 3",
22
- "Programming Language :: Python :: 3.7",
23
- "Programming Language :: Python :: 3.8",
24
- "Programming Language :: Python :: 3.9",
25
- "Programming Language :: Python :: 3.10",
26
- "Programming Language :: Python :: 3.11",
27
- "License :: OSI Approved :: MIT License",
28
- "Operating System :: OS Independent",
29
- "Topic :: Office/Business :: Financial :: Investment",
30
- "Topic :: Scientific/Engineering :: Information Analysis",
31
- "Intended Audience :: Financial and Insurance Industry",
32
- "Intended Audience :: Science/Research",
33
- "Development Status :: 4 - Beta",
34
- ],
35
- python_requires=">=3.7",
36
- install_requires=[
37
- "pandas>=1.0.0",
38
- "numpy>=1.18.0",
39
- "yfinance>=0.1.63",
40
- "scipy>=1.5.0",
41
- "scikit-learn>=1.5.0",
42
- "matplotlib>=3.3.0",
43
- "statsmodels>=0.12.0",
44
- ],
45
- extras_require={
46
- "optimization": ["cvxpy>=1.0.0"],
47
- "dev": [
48
- "pytest>=6.0.0",
49
- "black>=21.5b2",
50
- "flake8>=3.9.0",
51
- "sphinx>=4.0.0",
52
- "sphinx-rtd-theme>=0.5.0",
53
- "sphinx-autodoc-typehints>=1.22.0",
54
- "myst-parser>=1.0.0",
55
- "pytest-cov>=2.12.0",
56
- ],
57
- },
58
- keywords="finance, risk, portfolio, investment, stocks, analysis, visualization, drawdown, var, cvar, entropic, ulcer index",
59
- )
File without changes
File without changes
File without changes