New backend: - api/portfolio.py: watchlist CRUD, positions with live P&L, recommendations - POST /api/portfolio/analyze: batch analysis of watchlist tickers - GET /api/portfolio/positions: live price from yfinance + unrealized P&L New frontend: - PortfolioPanel.jsx with 3 tabs: 自选股 / 持仓 / 今日建议 - portfolioApi.js service - Route /portfolio (keyboard shortcut: 5) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| index.html | ||