-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
114 lines (101 loc) · 2.98 KB
/
pyproject.toml
File metadata and controls
114 lines (101 loc) · 2.98 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 = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "roboquant"
version = "1.0.0"
description = "A quantitative trading system using Donchian Breakout strategy with momentum filter"
readme = "README.md"
authors = [{name = "Daniel Palomo", email = "eldanypalomo@gmail.com"}]
license = {text = "MIT"}
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Financial and Insurance Industry",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Office/Business :: Financial :: Investment",
"Topic :: Software Development :: Libraries :: Python Modules",
]
requires-python = ">=3.11"
dependencies = [
"metatrader5>=5.0.5509; sys_platform == 'win32'",
"python-dotenv==1.0.0",
"pandas>=2.2.0,<3.0.0",
"numpy>=1.24.0,<2.0.0",
"requests==2.31.0",
"flask==3.0.0",
"vectorbt>=0.28.0",
"plotly==5.17.0",
"xgboost==1.7.3",
"keyring==24.2.0",
"scikit-learn>=1.4.0",
"joblib>=1.4.0",
"ruff>=0.14.13",
"ty>=0.0.12",
]
[project.urls]
Homepage = "https://github.com/danielpcar9/roboquant"
Repository = "https://github.com/danielpcar9/roboquant.git"
[project.scripts]
roboquant-donchian = "core.donchian_strategy:main"
roboquant-backtest = "scripts.backtest_apex_vectorbt:main"
roboquant-backtest-improved = "scripts.backtest_improved:main"
roboquant-export = "scripts.export_mt5_data:main"
roboquant-webhook = "services.webhook_receiver:main"
[tool.setuptools.packages.find]
where = ["."]
include = ["roboquant*", "analysis*", "brokers*", "config*", "core*", "risk*", "scripts*", "services*", "supabase*", "tests_integration*"]
[tool.setuptools.package-data]
"*" = ["*.bat", "*.md", ".env.example"]
[dependency-groups]
dev = [
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
"black>=23.0.0",
"flake8>=6.0.0",
"mypy>=1.0.0"
]
[tool.black]
line-length = 88
target-version = ['py311', 'py312', 'py313', 'py314']
[tool.pytest.ini_options]
testpaths = ["tests_integration"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = "-v --tb=short"
[tool.mypy]
python_version = "3.11"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = false
[tool.uv]
managed = true
[tool.ruff]
line-length = 88
target-version = "py311"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"C", # mccabe
"B", # bugbear
"UP", # pyupgrade
]
extend-ignore = [
"E501", # line too long
]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"