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

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%