refactor: wire web to the in-repo engine and shared data dir

- web/src/server/paths.ts resolves the repo root from its own location,
  loads the single repo-root .env, and defines data/web/ (watchlist,
  stock cache, backtest cache) and data/precomputed/.
- The API spawns bridge.py at the repo root instead of ../quant.
- precompute_backtest.py writes to data/precomputed/ instead of
  ../stock-agent/data/precomputed.
- Rename the project to quant-trading (web package quant-trading-web).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-09-25 11:42:35 +08:00
parent 0eb5b95efa
commit 96a845ebcd
12 changed files with 40 additions and 19 deletions

View File

@@ -1,5 +1,5 @@
{
"name": "personal-stock-agent",
"name": "quant-trading-web",
"version": "0.1.0",
"private": true,
"type": "module",