-
Notifications
You must be signed in to change notification settings - Fork 115
/
pyproject.toml
98 lines (80 loc) · 1.83 KB
/
pyproject.toml
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
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "quanttrader"
version = "0.6.0"
description = "quanttrader backtest and live trading library"
readme = "README.md"
authors = [
{name = "Letian Wang", email = "[email protected]"}
]
maintainers = [
{name = "Letian Wang", email = "[email protected]"}
]
classifiers = [
]
license = { file = "LICENSE" }
dependencies = [
]
[project.optional-dependencies]
dev = [
"coverage", # testing
"mypy", # linting
"pytest", # testing
"ruff" # linting
]
[project.urls]
bugs = "https://github.com/letianzj/quanttrader/issues"
changelog = "https://github.com/letianzj/quanttrader/blob/master/changelog.md"
homepage = "https://github.com/letianzj/quanttrader"
[tool.setuptools]
package-dir = {"" = "."}
[tool.setuptools.package-data]
"*" = ["*.*"]
[tool.poetry]
name = "quanttrader"
version = "0.6.0"
description = "quant trader python"
authors = ["Letian Wang <[email protected]>"]
[tool.poetry.dependencies]
python = "^3.12"
matplotlib = "^3.8.4"
numpy = "^1.26.4"
pandas = "^2.2.2"
psutil = "^5.9.0"
pytz = "^2024.1"
scikit-learn = "^1.5.0"
scipy = "^1.13.1"
seaborn = "^0.12.2"
PyYAML = "^6.0.1"
pyqt5 = "=5.15.10"
pyqt5-qt5 = "=5.15.2"
qdarkstyle = "=2.8"
ibapi = "^9.81.1"
ta = "^0.11.0"
gym = "^0.26.2"
[tool.poetry.dev-dependencies]
black = "^24.4.2"
isort = "^5.13.2"
pylint = "^3.2.3"
pytest = "^7.4.4"
[tool.pylint]
disable = ["missing-docstring", "W1203", "fixme"]
max-line-length = 300
[tool.isort]
profile = "black"
# Mypy
# ----
[tool.mypy]
files = "."
ignore_missing_imports = true
# Use strict defaults
strict = true
warn_unreachable = true
warn_no_return = true
[[tool.mypy.overrides]]
# Don't require test functions to include types
module = "tests.*"
allow_untyped_defs = true
disable_error_code = "attr-defined"