-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
89 lines (79 loc) · 1.98 KB
/
pyproject.toml
File metadata and controls
89 lines (79 loc) · 1.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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "bt2vbt"
version = "0.1.0"
description = "Convert Backtrader strategies to vectorbt signals and compare execution results"
readme = "README.md"
license = "MIT"
requires-python = ">=3.9"
authors = [
{ name = "bt2vbt contributors" }
]
keywords = [
"backtrader",
"vectorbt",
"trading",
"backtesting",
"strategy",
"conversion"
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Financial and Insurance Industry",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Office/Business :: Financial :: Investment",
"Topic :: Software Development :: Code Generators",
]
dependencies = [
"backtrader>=1.9.76",
"vectorbt>=0.26.0",
"pandas>=1.5.0",
"numpy>=1.21.0",
"jinja2>=3.0.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
"black>=23.0.0",
"ruff>=0.1.0",
"mypy>=1.0.0",
]
docs = [
"sphinx>=6.0.0",
"sphinx-rtd-theme>=1.0.0",
]
[project.scripts]
bt2vbt = "bt2vbt.cli:main"
[project.urls]
Homepage = "https://github.com/bt2vbt/bt2vbt"
Documentation = "https://bt2vbt.readthedocs.io"
Repository = "https://github.com/bt2vbt/bt2vbt"
[tool.hatch.build.targets.wheel]
packages = ["src/bt2vbt"]
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["src"]
addopts = "-v --tb=short"
[tool.black]
line-length = 100
target-version = ["py39", "py310", "py311", "py312"]
[tool.ruff]
line-length = 100
target-version = "py39"
[tool.ruff.lint]
select = ["E", "F", "W", "I", "UP", "B", "C4"]
ignore = ["E501"]
[tool.mypy]
python_version = "3.9"
warn_return_any = true
warn_unused_configs = true
ignore_missing_imports = true