Commit Graph

11 Commits

Author SHA1 Message Date
yuxuanhui 68282f5d46 refactor(selection): replace concept sector filter with sub-industry
- pin the selection sector vocabulary to industry: the /sectors endpoint
  no longer accepts sector_type, and the port, adapter, and use case all
  resolve counts and member codes with sector_type="industry"
- relabel the results filter to 细分行业 and drop concept-type plumbing
  from the frontend API, query keys, and types
- show only 细分行业 in the signal detail panel; remove the concept-board
  chips and keep the snapshot-date tooltip on the industry line
- update backend and frontend tests to the industry vocabulary and record
  the revised scope in the task PRD
2026-09-05 21:04:00 +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 50cac3575a fix(selection): render gold brick chart as TDX brick blocks with strong-red flag
Match the ZXB1 sub-chart formula: each brick spans between yesterday's
and today's brick value via a stacked range bar — rising bricks are
hollow red (solid on strong_red), falling bricks solid green. The chart
API now also returns brick_strong_red per point.
2026-09-05 14:58:02 +08:00
yuxuanhui 3b50e75ef8 feat(selection): show gold brick chart below volume in stock detail panel
Add an optional brick_chart series to the selection chart API, computed
from the shared gold-brick formula when strategy=gold_brick, and render
a fourth grid with red/green brick bars between the volume and J grids.
2026-09-05 13:41:25 +08:00
yuxuanhui f41ad0915e feat(selection): add Zhixing line indicators to selection chart and update related components 2026-09-01 22:57:58 +08:00
yuxuanhui 9145fe4b2c feat(selection): 新增个股技术图表接口 2026-09-01 13:37:11 +08:00
yuxuanhui 6ce291e242 feat(selection): 集成 B1 FastDTW 图形评分 2026-08-31 16:14:16 +08:00
yuxuanhui ad9545ef55 refactor(selection): 统一信号与股票处理逻辑,重构相关数据结构与接口,更新前端展示以支持股票信息 2026-08-28 11:39:05 +08:00
yuxuanhui 8963c067b3 perf(selection): 优化选股执行性能 2026-08-12 09:45:16 +08:00
yuxuanhui 3af97bf65d feat(selection): 支持选股结果服务端分页 2026-08-10 11:09:23 +08:00
yuxuanhui 9c1a1eac23 feat(selection): 补充策略执行结果查询链路 2026-08-09 09:34:46 +08:00