-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathpyproject.toml
More file actions
84 lines (75 loc) · 2.11 KB
/
Copy pathpyproject.toml
File metadata and controls
84 lines (75 loc) · 2.11 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
[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "mlquant"
version = "0.1.0"
description = "Reference implementation of ‘ML-Enhanced Multi-Factor Quantitative Trading’ (arXiv:2507.07107)."
readme = "README.md"
requires-python = ">=3.9"
license = { text = "MIT" }
authors = [{ name = "Yimin Du" }]
keywords = ["quant", "alpha", "factor", "portfolio", "pytorch", "markowitz"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Financial and Insurance Industry",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Office/Business :: Financial :: Investment",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
"numpy>=1.24",
"pandas>=2.0",
"scipy>=1.10",
"scikit-learn>=1.3",
"torch>=2.0",
"cvxpy>=1.4",
"scs>=3.2",
"pyyaml>=6.0",
"click>=8.1",
"rich>=13.0",
"tqdm>=4.65",
"yfinance>=0.2.0",
"baostock>=0.8.8",
]
[project.optional-dependencies]
mosek = ["Mosek>=10.0"]
ecos = ["ecos>=2.0"]
gpu = ["cupy-cuda12x>=12.0"]
dev = [
"pytest>=7.4",
"pytest-cov>=4.1",
"ruff>=0.4",
"mypy>=1.7",
"hypothesis>=6.90",
]
[project.scripts]
mlquant = "mlquant.cli.main:main"
[project.urls]
Homepage = "https://github.com/initial-d/ml-quant-trading"
Paper = "https://arxiv.org/abs/2507.07107"
Issues = "https://github.com/initial-d/ml-quant-trading/issues"
[tool.setuptools.packages.find]
where = ["src"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-ra -q --strict-markers"
filterwarnings = [
"ignore::DeprecationWarning",
]
[tool.ruff]
line-length = 100
target-version = "py39"
extend-exclude = ["legacy"]
[tool.ruff.lint]
select = ["E", "F", "I", "B", "UP", "N", "SIM", "PL"]
ignore = ["E501", "PLR0913", "PLR2004"]
[tool.mypy]
python_version = "3.9"
ignore_missing_imports = true
exclude = "legacy/"