-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
143 lines (130 loc) · 3.53 KB
/
pyproject.toml
File metadata and controls
143 lines (130 loc) · 3.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "quantcore"
version = "0.1.0"
description = "Quantitative Trading Research Platform"
readme = "README.md"
license = {text = "Apache-2.0"}
authors = [
{name = "Kshitij Bichave"}
]
requires-python = ">=3.10"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Financial and Insurance Industry",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Office/Business :: Financial :: Investment",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
keywords = ["quantitative", "trading", "backtesting", "finance", "machine-learning", "mcp"]
dependencies = [
"pandas>=2.0.0",
"numpy>=1.24.0,<2.0.0",
"scipy>=1.10.0",
"duckdb>=0.9.0",
"requests>=2.31.0",
"aiohttp>=3.9.0",
"pydantic>=2.0.0",
"pydantic-settings>=2.0.0",
"python-dotenv>=1.0.0",
"loguru>=0.7.0",
"pytz>=2023.3",
"python-dateutil>=2.8.2",
"tqdm>=4.66.0",
"typing-extensions>=4.8.0",
# ML - required because quantcore/__init__.py imports all submodules
"scikit-learn>=1.3.0",
"lightgbm>=4.0.0",
"xgboost>=2.0.0",
"catboost>=1.2.0",
"shap>=0.42.0",
"statsmodels>=0.14.0",
# RL - required because quantcore/__init__.py imports rl submodule
"torch>=2.0.0",
"gymnasium>=0.29.0",
"stable-baselines3>=2.2.0",
"shimmy>=1.3.0",
# Viz - required for visualization imports
"plotly>=5.18.0",
"matplotlib>=3.8.0",
"seaborn>=0.13.0",
# MCP
"fastmcp>=0.1.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.4.0",
"pytest-asyncio>=0.21.0",
"hypothesis>=6.90.0",
"ruff>=0.1.0",
"mypy>=1.7.0",
"mcp>=1.0.0",
]
all = [
"quantcore[dev]",
]
[project.scripts]
quantcore-mcp = "quantcore.mcp.server:main"
etrade-mcp = "etrade_mcp.server:main"
[project.urls]
Homepage = "https://github.com/kbichave/QuantStack"
Documentation = "https://github.com/kbichave/QuantStack"
Repository = "https://github.com/kbichave/QuantStack.git"
Issues = "https://github.com/kbichave/QuantStack/issues"
[tool.setuptools.packages.find]
where = ["packages"]
[tool.setuptools.package-data]
quantcore = ["config/*.yaml"]
[tool.ruff]
target-version = "py310"
line-length = 100
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # Pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
]
ignore = [
"E501", # line too long (handled by formatter)
"B008", # do not perform function calls in argument defaults
"C901", # too complex
]
[tool.ruff.per-file-ignores]
"__init__.py" = ["F401"]
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
ignore_missing_imports = true
[dependency-groups]
dev = [
"pytest>=7.4.0",
"pytest-asyncio>=0.21.0",
"hypothesis>=6.90.0",
"ruff>=0.1.0",
"mypy>=1.7.0",
"mcp>=1.0.0",
"pre-commit>=3.5.0",
"coverage>=7.0.0",
]
[tool.uv]
# UV configuration for dependency management
# Use native TLS for better SSL compatibility (Zscaler, corporate proxies)
native-tls = true
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
filterwarnings = [
"ignore::DeprecationWarning",
]