Commit Graph

36 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 3e0aa496f3 style(selection): apply ruff format to gold_brick module 2026-09-05 19:48:41 +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 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 79476252b1 feat(selection): implement gold brick resonance strategy with evaluation and logging enhancements 2026-09-05 10:22:08 +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 58006615af fix(migrations): 顺延 B1 评分迁移版本 2026-08-31 16:26:39 +08:00
yuxuanhui 142dc5c3f7 Merge branch 'develop' into codex/point 2026-08-31 16:14:35 +08:00
yuxuanhui 6ce291e242 feat(selection): 集成 B1 FastDTW 图形评分 2026-08-31 16:14:16 +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
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 8f5f504368 feat(market-data): 补充完整性检查路由 2026-08-11 11:20:29 +08:00
yuxuanhui 7ce11543af feat(market-data): 优化同步并增加完整性检查 2026-08-11 11:20:13 +08:00
yuxuanhui 3af97bf65d feat(selection): 支持选股结果服务端分页 2026-08-10 11:09:23 +08:00
yuxuanhui aed8948b79 feat(sync): 优化日志格式和进度记录逻辑 2026-08-09 09:44:46 +08:00
yuxuanhui 9c1a1eac23 feat(selection): 补充策略执行结果查询链路 2026-08-09 09:34:46 +08:00
yuxuanhui e9d06df5de feat(selection): 迁移知行B1选股策略 2026-08-08 22:41:45 +08:00
yuxuanhui b0e846d79c feat(home): 添加市场数据概览 2026-08-07 13:29:31 +08:00
yuxuanhui 9023e00213 feat: 添加时区设置为 Asia/Shanghai 2026-08-07 09:56:28 +08:00
yuxuanhui eabf102e2b fix(market-data): 增加同步进度日志并修复生产目录权限 2026-08-07 00:13:49 +08:00
yuxuanhui 039a81fe57 fix(market-data): 完善 Tushare 全量同步配置 2026-08-06 22:45:18 +08:00
yuxuanhui afdc5ca909 feat(deploy): 接入生产密钥与数据库迁移
Deploy Production / deploy (push) Successful in 1m42s
2026-08-05 22:45:57 +08:00
yuxuanhui d7d5ed8979 feat(market-data): 迁移 Tushare 同步到 PostgreSQL 2026-08-05 17:57:32 +08:00
yuxuanhui 844d8416bd feat: initialize zhixing-web with React, React Router, and Tailwind CSS
- Set up the main application structure with App component and routing.
- Implemented global state management for UI theme using Zustand.
- Created API utilities for fetching system status.
- Developed system status page with responsive design and theme toggle.
- Added testing setup with Vitest and initial tests for system status page.
- Configured TypeScript with appropriate settings for the application.
- Integrated Tailwind CSS for styling and responsive design.
- Established Vite configuration for development and testing environments.
2026-08-03 13:47:24 +08:00