-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
114 lines (105 loc) · 2.69 KB
/
pyproject.toml
File metadata and controls
114 lines (105 loc) · 2.69 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "tiportfolio"
version = "1.3.1"
description = "A portfolio management tool with built-in state-of-the-art portfolio optimization algorithms, with extensibility for different use cases for both institutes and retail traders."
readme = "README.md"
authors = [{ name = "tim-hub" },{ name = "TradeInsight.info" }]
requires-python = ">=3.10"
license = { text = "Apache-2.0" }
keywords = [
'Algorithm Trading',
'Backtesting',
'Portfolio Optimization',
]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: Apache Software License",
"Topic :: Office/Business :: Financial",
"Topic :: Office/Business :: Financial :: Investment",
"Topic :: Software Development :: Libraries :: Python Modules",
]
urls = { homepage = "https://github.com/TradeInsight-Info/TiPortfolio", documentation = "https://tiportfolio.tradeinsight.info/" }
dependencies = [
"alpaca-py>=0.43.2",
"diskcache>=5.6.3",
"joblib>=1.5.2",
"matplotlib>=3.10.8",
"numpy>=2.2.6",
"pandas>=2.3.3",
"pandas-market-calendars>=5.1.3",
"progressbar>=2.5",
"tqdm>=4.67.1",
"yfinance>=0.2.66",
"click>=8.0",
]
[project.optional-dependencies]
interactive = ["plotly>=5.0.0", "kaleido"]
erc = ["riskfolio-lib>=7.0.1"]
[dependency-groups]
dev = [
"mkdocs==1.6.1",
"mkdocs-material>=9.7.6",
"mkdocs-mermaid2-plugin>=1.2.3",
"mkdocstrings[python]>=1.0.3",
"notebook>=7.5.0",
"plotly>=5.0.0",
"python-dotenv>=1.2.1",
"pytest>=9.0.1",
"pandas-stubs==2.3.2.250926",
"riskfolio-lib>=7.0.1",
]
[project.scripts]
tiportfolio = "tiportfolio.cli:cli"
[tool.hatch.build.targets.wheel]
packages = ["src/tiportfolio"]
[tool.uv]
package = true
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["src"]
markers = [
"integration: tests that hit external services (skipped by default, use -m integration to run)",
]
[tool.mypy]
# Python version target
python_version = "3.12"
ignore_missing_imports = true
# Equivalent to setting PYTHONPATH=src
mypy_path = "src"
# Paths to ignore (mypy uses 'exclude' as a regex string, not a list)
exclude = '''
(
\.bzr|
\.direnv|
\.eggs|
\.git|
\.git-rewrite|
\.hg|
\.ipynb_checkpoints|
\.mypy_cache|
\.nox|
\.pants\.d|
\.pyenv|
\.pytest_cache|
\.pytype|
\.ruff_cache|
\.svn|
\.tox|
\.venv|
\.vscode|
__pypackages__|
_build|
buck-out|
build|
dist|
node_modules|
site-packages|
venv
)
'''