Commit Graph

139 Commits

Author SHA1 Message Date
yuxuanhui 4af96cee4b chore(task): 删除过时的选股页面迭代计划文档 2026-09-25 23:49:54 +08:00
yuxuanhui ca778fe38f chore: record journal 2026-09-25 23:49:18 +08:00
yuxuanhui 62c66f02ad chore(task): archive 09-07-api-performance-diagnosis 2026-09-25 23:48:22 +08:00
yuxuanhui 1197b78f9a chore(task): archive 09-06-capital-radar-daily-detail 2026-09-25 23:48:21 +08:00
yuxuanhui 39f8fe5fbf chore(task): archive 09-05-selection-layout-sector-filter 2026-09-25 23:48:20 +08:00
yuxuanhui d79e78a411 chore(task): archive 09-04-add-gold-brick-strategy 2026-09-25 23:48:20 +08:00
yuxuanhui a3e51e2dae chore(task): archive 09-01-optimize-stock-list-radar 2026-09-25 23:48:19 +08:00
yuxuanhui fad932b0de feat: Add OneChart score reconstruction research files and validation results
- Introduced new JSON files for normalized and raw inputs, source metadata, and public inputs.
- Added findings document detailing the methodology and results of the score reconstruction.
- Included member differences and worked examples for clarity on data discrepancies.
- Implemented a Python script for reproducing scores based on public inputs.
- Created SQL for raw reaggregation of data.
- Added task metadata for tracking the research completion and validation metrics.
2026-09-25 23:43:53 +08:00
yuxuanhui f020362fb0 fix(deploy): change runner from ubuntu-latest to tencent-prod 2026-09-25 23:43:40 +08:00
yuxuanhui c460ba3524 chore: record journal 2026-09-21 23:58:39 +08:00
yuxuanhui 30bf94c908 chore(task): archive 09-21-radar-weighted-score-rank-change 2026-09-21 23:58:39 +08:00
yuxuanhui b9981aa48d feat(sector-radar): add weighted scores and rank-change views 2026-09-21 23:57:55 +08:00
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