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

Zhixing System

Zhixing System 是一个 Python + React 的量化系统基础工程。后端采用限界上下文优先的 DDD 模块化单体,前端采用 feature 垂直切片结构。

目录

.
├── docs/adr/               # 需要长期保留的架构决策
├── zhixing-server/         # FastAPI 后端与量化计算边界
├── zhixing-web/            # React 管理页面
├── .env.example            # 开发环境变量模板
├── dev.sh                  # 统一开发入口
└── docker-compose.dev.yml  # 前后端热更新环境

快速开始

cp .env.example .env
./dev.sh dev

打开 http://localhost:5555。前端通过 /api/v1/system/status 调用后端,后端健康检查位于 http://localhost:8000/healthz。

常用命令:

./dev.sh logs
./dev.sh check
./dev.sh test
./dev.sh down

后端和前端也可分别通过 uv 与 pnpm 在本机运行,具体命令见各子项目 README。

S
Description
No description provided
Readme 8.9 MiB
Languages
Python 73.2%
TypeScript 23.6%
HTML 2.9%
CSS 0.1%
Dockerfile 0.1%