Make Backtrader an optional extra

This commit is contained in:
Yuxuan Yan
2026-06-10 15:13:11 +08:00
parent 459336b6cc
commit 4a477b8f75
4 changed files with 26 additions and 3 deletions
+5 -1
View File
@@ -4,7 +4,6 @@ version = "0.1.0"
description = "A modular Chinese A-share quant research framework (daily frequency)."
requires-python = ">=3.10"
dependencies = [
"backtrader>=1.9.76.123",
"akshare>=1.14.0",
"baostock>=0.8.8",
"pandas>=2.0.0",
@@ -13,6 +12,11 @@ dependencies = [
"pyarrow>=14.0.0",
]
[project.optional-dependencies]
backtrader = [
"backtrader>=1.9.76.123",
]
[dependency-groups]
dev = [
"pytest>=7.0.0",