Remove deprecated modules and files related to the backtesting framework, including backtest.py, cli.py, config.py, data.py, intrabar.py, logging_utils.py, market_costs.py, metrics.py, trade.py, and supertrend indicators. Introduce a new structure for the backtesting engine with improved organization and functionality, including a CLI handler, data manager, and reporting capabilities. Update dependencies in pyproject.toml to support the new architecture.

This commit is contained in:
2026-01-12 21:11:39 +08:00
parent c4aa965a98
commit 44fac1ed25
37 changed files with 5253 additions and 393 deletions

View File

@@ -5,5 +5,20 @@ description = "Add your description here"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"ccxt>=4.5.32",
"numpy>=2.3.2",
"pandas>=2.3.1",
"ta>=0.11.0",
"vectorbt>=0.28.2",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0.0",
]
[tool.pytest.ini_options]
pythonpath = ["."]
markers = [
"network: marks tests as requiring network access",
]