xucheng
|
4c88b38a7e
|
chore: sync backend/frontend/docs changes before push
|
2025-11-06 19:58:36 +08:00 |
|
xucheng
|
edfd51b0a7
|
feat: 昨日快照API与前端卡片;注册orgs路由;多项优化
- backend(financial): 新增 /china/{ts_code}/snapshot API,返回昨日交易日的收盘价/市值/PE/PB/股息率等
- backend(schemas): 新增 TodaySnapshotResponse
- backend(main): 注册 orgs 路由 /api/v1/orgs
- backend(providers:finnhub): 归一化财报字段并计算 gross_margin/net_margin/ROA/ROE
- backend(providers:tushare): 股东户数报告期与财报期对齐
- backend(routers/financial): years 默认改为 10(最大 10)
- config: analysis-config.json 切换到 qwen-flash-2025-07-28
- frontend(report/[symbol]): 新增“昨日快照”卡片、限制展示期数为10、优化增长与阈值高亮、修正类名与标题处理
- frontend(reports/[id]): 统一 period 变量与计算,修正表格 key
- frontend(hooks): 新增 useChinaSnapshot 钩子与类型
- scripts: dev.sh 增加调试输出
|
2025-11-05 17:00:32 +08:00 |
|
xucheng
|
3475138419
|
feat(数据): 新增员工、股东及税务指标并生成日志
- 后端: Tushare provider 新增 get_employee_number, get_holder_number, get_tax_to_ebt 方法,并在 financial 路由中集成。
- 前端: report 页面新增对应图表展示,并更新相关类型与工具函数。
- 清理: 移除多个过时的测试脚本。
- 文档: 创建 2025-11-04 开发日志并更新用户手册。
|
2025-11-04 21:22:32 +08:00 |
|
xucheng
|
3ffb30696b
|
修改了财务数据获取时的一些结构,但还没有完成,今天先做到这儿。
|
2025-11-04 14:03:34 +08:00 |
|
xucheng
|
ff7dc0c95a
|
feat(backend): introduce DataManager and multi-provider; analysis orchestration; streaming endpoints; remove legacy tushare_client; enhance logging
feat(frontend): integrate Prisma and reports API/pages
chore(config): add data_sources.yaml; update analysis-config.json
docs: add 2025-11-03 dev log; update user guide
scripts: enhance dev.sh; add tushare_legacy_client
deps: update backend and frontend dependencies
|
2025-11-03 21:48:08 +08:00 |
|
xucheng
|
8b5d5f5777
|
feat(frontend): add always-visible '重新生成分析' button per module\nfix(backend): inject dependency context for single-module generation (final_conclusion placeholders)
|
2025-10-31 03:09:43 +00:00 |
|
xucheng
|
b5a4d2212c
|
feat: 实现动态分析配置并优化前端UI
本次提交引入了一系列重要功能,核心是实现了财务分析模块的动态配置,并对配置和报告页面的用户界面进行了改进。
主要变更:
- **动态配置:**
- 后端实现了 `ConfigManager` 服务,用于动态管理 `analysis-config.json` 和 `config.json`。
- 添加了用于读取和更新配置的 API 端点。
- 开发了前端 `/config` 页面,允许用户实时查看和修改分析配置。
- **后端增强:**
- 更新了 `AnalysisClient` 和 `CompanyProfileClient` 以使用新的配置系统。
- 重构了财务数据相关的路由。
- **前端改进:**
- 新增了可复用的 `Checkbox` UI 组件。
- 使用更直观和用户友好的界面重新设计了配置页面。
- 改进了财务报告页面的布局和数据展示。
- **文档与杂务:**
- 更新了设计和需求文档以反映新功能。
- 更新了前后端依赖。
- 修改了开发脚本 `dev.sh`。
|
2025-10-30 14:50:36 +08:00 |
|
xucheng
|
e0aa61b8c4
|
feat: 添加分析模块配置和分析功能,更新财务数据处理逻辑
|
2025-10-29 22:49:27 +08:00 |
|
xucheng
|
6508589027
|
feat: 完成公司简介部分
|
2025-10-28 23:31:28 +08:00 |
|