7f93d6b0f5
- 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.
Zhixing Server
FastAPI 后端使用 Python 3.12 与 uv。业务代码按限界上下文组织;只有真实业务需求明确后才在 src/zhixing_server/modules/ 下新增上下文。
uv sync
uv run uvicorn zhixing_server.main:app --reload
uv run pytest
uv run ruff format --check .
uv run ruff check .
uv run pyright