Fundamental_Analysis/frontend
Lv, Qi 21155bc4f8 feat(realtime): 接入前端实时报价并完善后端缓存
前端: 新增 RealTimeQuoteResponse 类型;新增 useRealtimeQuote Hook 并在报告页图表旁展示价格与时间戳(严格 TTL,无兜底)

FastAPI: 新增 GET /financials/{market}/{symbol}/realtime?max_age_seconds=.. 只读端点;通过 DataPersistenceClient 读取 Rust 缓存

Rust: 新增 realtime_quotes hypertable 迁移;新增 POST /api/v1/market-data/quotes 与 GET /api/v1/market-data/quotes/{symbol}?market=..;新增 DTO/Model/DB 函数;修正 #[api] 宏与路径参数;生成 SQLx 离线缓存 (.sqlx) 以支持离线构建

Python: DataPersistenceClient 新增 upsert/get 实时报价,并调整 GET 路径与参数

说明: TradingView 图表是第三方 websocket,不受我们缓存控制;页面数值展示走自有缓存通路,统一且可控。
2025-11-09 05:12:14 +08:00
..
prisma feat(backend): introduce DataManager and multi-provider; analysis orchestration; streaming endpoints; remove legacy tushare_client; enhance logging 2025-11-03 21:48:08 +08:00
public chore(frontend): 提交前端静态资源与 API 路由调整 2025-10-30 16:28:53 +08:00
src feat(realtime): 接入前端实时报价并完善后端缓存 2025-11-09 05:12:14 +08:00
.gitignore feat(backend): introduce DataManager and multi-provider; analysis orchestration; streaming endpoints; remove legacy tushare_client; enhance logging 2025-11-03 21:48:08 +08:00
components.json Initial commit 2025-10-21 20:17:14 +08:00
Dockerfile refactor(phase0-1): 容器化与配置服务拆分,并清理根目录 2025-11-08 21:07:38 +08:00
eslint.config.mjs chore(frontend): 提交前端静态资源与 API 路由调整 2025-10-30 16:28:53 +08:00
next.config.mjs fix(frontend): remove localhost rewrites and enforce NEXT_PUBLIC_BACKEND_URL 2025-11-08 22:59:03 +08:00
next.config.ts Initial commit 2025-10-21 20:17:14 +08:00
package-lock.json 修改了财务数据获取时的一些结构,但还没有完成,今天先做到这儿。 2025-11-04 14:03:34 +08:00
package.json feat(数据): 新增员工、股东及税务指标并生成日志 2025-11-04 21:22:32 +08:00
postcss.config.mjs Initial commit 2025-10-21 20:17:14 +08:00
tsconfig.json Initial commit 2025-10-21 20:17:14 +08:00