feat(ui): split client into Live and Strategy pages and wire new routes

Rebuilds the client into Live (watchlist with charts, fundamentals, news,
quant analysis) and Strategy (backtest runner / precomputed results) pages,
adds the corresponding /api/stocks/:symbol/chart|fundamentals|related|quant
and /api/strategies endpoints, and updates project tooling.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-05-19 23:21:03 +08:00
parent f54041646f
commit 5716267309
10 changed files with 5187 additions and 296 deletions

View File

@@ -6,7 +6,7 @@
"scripts": {
"dev": "concurrently \"npm:dev:server\" \"npm:dev:client\"",
"dev:server": "tsx watch src/server/index.ts",
"dev:client": "vite --host 127.0.0.1",
"dev:client": "vite",
"test": "vitest run",
"build": "tsc --noEmit && vite build"
},
@@ -15,6 +15,7 @@
"cors": "^2.8.5",
"dotenv": "^17.4.2",
"express": "^5.1.0",
"lightweight-charts": "^5.2.0",
"lucide-react": "^1.14.0",
"react": "^19.1.1",
"react-dom": "^19.1.1",