Commit Graph

127 Commits

Author SHA1 Message Date
yuxuanhui 669e89d3c3 feat(sector-radar): add IME-safe sector autocomplete and detail lookup 2026-09-21 22:37:07 +08:00
yuxuanhui 2f1c4f36c2 Support swing radar metrics and sector detail dialogs 2026-09-21 22:28:35 +08:00
yuxuanhui 3f50ca3076 feat(docker-compose): add observability labels and logging configuration for services 2026-09-16 16:25:10 +08:00
yuxuanhui d7586b27f6 perf(sector_radar): narrow publication reads and index rank history 2026-09-07 12:16:25 +08:00
yuxuanhui e567e5f717 feat(trellis): enhance bundled skills and workflow integration
- Updated bundled skills documentation to clarify the structure and usage across all platforms, ensuring consistency in skill root paths.
- Introduced a new `inject-spec-context.py` hook for path-scoped spec context injection, improving the relevance of injected specs during file interactions.
- Enhanced existing hooks to support workflow resolution, allowing for dynamic selection of workflows based on task context.
- Added a command to manage workflow selections for active tasks, enabling better task management and workflow adherence.
- Updated configuration options for spec injection, including character limits and refresh windows, to optimize performance and usability.
2026-09-07 11:23:15 +08:00
yuxuanhui ca3bd7a4b1 style(sector_radar): compact detail dialog header 2026-09-06 20:25:39 +08:00
yuxuanhui 07c5b25043 refactor(selection): drop residual concept-sector surface from sub-industry path
- remove the sector_type parameter from the selection port, adapter, and
  use case; the adapter now passes SectorType.INDUSTRY directly, deleting
  the dead concept vocabulary mapping
- stop parsing concepts/concept_total/concept_limit from the sector-radar
  membership response in the web API layer and narrow the response type to
  industries only
- update tests and the task PRD accordingly; backend pyright errors drop
  from the 16 baseline to 14
2026-09-06 16:15:08 +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 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 ade1713e86 docs(trellis): record selection layout and sector filter task 2026-09-05 19:48:41 +08:00
yuxuanhui 3e0aa496f3 style(selection): apply ruff format to gold_brick module 2026-09-05 19:48:41 +08:00
yuxuanhui 12642f3c2d feat(selection): rework results layout and add sector filter
- move the filter bar out of the list column into a full-width top section;
  list and detail stay side by side below on md+, stacking search > list >
  detail on small screens
- add sector select fed by the run's concept-board aggregates; options show
  per-sector stock counts ordered by count desc, stale selections reset when
  the aggregate list changes
- persist sector in the route search, results/runs query keys, and refresh
  sector aggregates when a selection run finishes
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 9163590070 feat(selection): integrate yet-another-react-lightbox for enhanced image viewing in PatternCaseImage component 2026-09-02 18:50:13 +08:00
yuxuanhui 6b8c5bd33f feat(selection): enhance PatternScore component with detailed breakdown labels and update tests for accuracy 2026-09-02 18:38:57 +08:00
yuxuanhui 98ee1cc996 fix(selection): update chart labels and improve layout for clarity in selection components 2026-09-02 18:36:02 +08:00
yuxuanhui 629f933cf9 refactor(selection): update component descriptions and improve layout for stock detail panel 2026-09-02 18:26:57 +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 3da90f7df8 feat(codex): create initial workspace index and journal for AI development sessions 2026-09-01 22:47:17 +08:00
yuxuanhui ea2d0f75f1 refactor(web): adjust layout and styling for improved responsiveness and visual consistency 2026-09-01 22:40:24 +08:00
yuxuanhui af1e1eaa66 feat(web): 选股列表改为滚动加载并精简操作区
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-01 19:27:41 +08:00
yuxuanhui c944b219d9 feat(web): 用紧凑卡片替换选股表格并精简资金雷达列
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-01 14:57:27 +08:00
yuxuanhui 4b8a7bd484 feat(research): add OneChartLab radar metrics analysis and documentation 2026-09-01 14:48:57 +08:00
yuxuanhui 70bd766b8e Merge branch 'codex/chart' into develop
# Conflicts:
#	.trellis/workspace/yuxuanhui/index.md
2026-09-01 13:44:30 +08:00
yuxuanhui 66d417256f chore: record journal 2026-09-01 13:38:57 +08:00
yuxuanhui 3fc78ec9b1 chore(task): archive 09-01-stock-chart-display 2026-09-01 13:38:45 +08:00
yuxuanhui feb8fd4feb feat(web): 完善选股详情图表与案例图 2026-09-01 13:37:19 +08:00
yuxuanhui 9145fe4b2c feat(selection): 新增个股技术图表接口 2026-09-01 13:37:11 +08:00
yuxuanhui fe6d2b4fe5 feat(sector-radar): align dual ranking radar interactions 2026-09-01 13:24:43 +08:00
yuxuanhui 21ec0b2353 chore: record journal 2026-09-01 12:14:37 +08:00
yuxuanhui e2037f48f0 chore(task): archive 09-01-sector-radar-dual-ranking 2026-09-01 12:14:25 +08:00
yuxuanhui bed9cab437 chore: record journal 2026-09-01 11:16:58 +08:00
yuxuanhui ff028912e6 chore(task): archive 08-27-onechartlab-research 2026-09-01 11:16:57 +08:00
yuxuanhui 5f34be5395 chore(task): 更新 OneChartLab 页面迭代上下文 2026-09-01 11:16:19 +08:00
yuxuanhui be31235fc7 feat(sector-radar): 支持排名列表滚动加载 2026-09-01 11:16:18 +08:00
yuxuanhui c8b08add76 fix(selection): 列表仅展示单个 J 值 2026-09-01 11:12:08 +08:00
yuxuanhui 6b42bcfe15 chore: record journal 2026-08-31 16:27:36 +08:00
yuxuanhui 467aeab57b chore(task): archive 08-29-integrate-b1-scoring 2026-08-31 16:27:21 +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 1d4c317703 chore: record journal 2026-08-31 14:27:09 +08:00
yuxuanhui ca0405bffb chore(task): archive 08-31-sector-radar-listed-moneyflow-recovery 2026-08-31 14:27:09 +08:00
yuxuanhui 2ffd0163f2 fix(sector-radar): 支持当前上市股票资金流补拉 2026-08-31 14:26:28 +08:00
yuxuanhui 1cd7b5cb38 feat(tushare): add Tushare skill and demo scripts for fund and stock data retrieval 2026-08-31 11:31:49 +08:00
yuxuanhui 73e7056fcf fix(sector-radar): 兼容停牌时段为空 2026-08-31 09:47:09 +08:00