Commit Graph

14 Commits

Author SHA1 Message Date
yuxuanhui b9981aa48d feat(sector-radar): add weighted scores and rank-change views 2026-09-21 23:57:55 +08:00
yuxuanhui d7586b27f6 perf(sector_radar): narrow publication reads and index rank history 2026-09-07 12:16:25 +08:00
yuxuanhui 7f93d6b0f5 feat(sector_radar): enhance sector radar functionality with active moneyflow and detailed metrics
- Introduced ActiveMoneyflowSource to fetch optional active-order flow, enhancing the sector radar's data capabilities.
- Updated StockFactRecord and DailyAggregateRecord to include pct_change and active_buy_net_amount_yuan for improved financial insights.
- Modified the build process to incorporate active moneyflow data without invalidating main rankings on failure.
- Enhanced the HTTP API to return detailed sector history and metrics, including pct_change and active buy metrics for members.
- Updated tests to validate the new functionality and ensure data integrity across various scenarios.
2026-09-06 16:06:17 +08:00
yuxuanhui 7e0f13d678 feat(selection): expose run sector aggregates and sector filter on results API
- sector_radar: add batch sector-count aggregation and sector member lookup
  over the strict last-good membership snapshot (postgres + in-memory fakes)
- selection: add SelectionSectorReader port, list_sector_counts use case,
  and sector_stock_codes filtering via run identity resolution; queries stay
  inside the selection context per ADR 0001
- http: add GET /api/v1/selection/sectors and forward sector param on
  /results and /runs/{run_id}
- fix stale positional args in pattern-scoring run tests; cover new behavior
  with read-service, application, and HTTP contract tests
2026-09-05 19:48:30 +08:00
yuxuanhui 41a9b4eb9a feat(selection): show stock industry and concept boards in detail panel
Add point-in-time stock membership lookup to the sector radar module
(GET /sector-radar/stocks/{ts_code}/membership) reading the existing
dc_index/dc_member snapshots, and surface industries plus concept chips
in the selection signal detail panel with graceful no-data hiding.
2026-09-05 16:23:50 +08:00
yuxuanhui 2ffd0163f2 fix(sector-radar): 支持当前上市股票资金流补拉 2026-08-31 14:26:28 +08:00
yuxuanhui 73e7056fcf fix(sector-radar): 兼容停牌时段为空 2026-08-31 09:47:09 +08:00
yuxuanhui 1e15e8059d fix(sector-radar): 兼容股票市场字段为空 2026-08-30 01:50:27 +08:00
yuxuanhui 6e217ac70f fix(sector-radar): 增加安全源契约诊断 2026-08-30 00:10:08 +08:00
yuxuanhui 23493fa32f fix(sector-radar): 收紧可复现发布契约 2026-08-29 20:36:44 +08:00
yuxuanhui efc4c3d530 feat(sector-radar): 提供版本化排名查询接口 2026-08-29 19:44:46 +08:00
yuxuanhui d9bae722d8 feat(sector-radar): 完成可恢复构建任务 2026-08-29 18:35:16 +08:00
yuxuanhui 284c480a90 feat(sector-radar): 接入Tushare事实与版本化存储 2026-08-29 17:22:39 +08:00
yuxuanhui 3789008ea6 feat(sector-radar): 建立独立指标与排名领域模型 2026-08-29 16:52:45 +08:00