Make Backtrader an optional extra
This commit is contained in:
@@ -26,6 +26,10 @@ uv run python cli.py portfolio eval --positions-path portfolio/eq_10m.pq --data-
|
||||
|
||||
Add a runtime dep with `uv add <pkg>`, a dev/test dep with `uv add --dev <pkg>` (both update `pyproject.toml` + `uv.lock`).
|
||||
|
||||
Backtrader is optional (`uv sync --extra backtrader`) and is not used by the
|
||||
current pipeline. Keep `portfolio simulate` as the canonical backtest/execution
|
||||
path unless an explicit future adapter is requested.
|
||||
|
||||
Note: `tests/test_downloader.py` hits the network (live baostock/akshare); `tests/test_alpha.py` and `tests/test_portfolio.py` are pure and fast.
|
||||
|
||||
## Architecture: one decoupled pipeline
|
||||
|
||||
Reference in New Issue
Block a user