feat: 将参考 AlphaSift 的选股实现纳入主项目 (#2136)

* feat: integrate built-in stock screening engine

* test: verify screening routes via public contract

* refactor: make screening integration fully native

* fix(review-feedback-2136): [Verification blocker] 当前 Head 的阻断型 CI 已最终失败:backend-gate。请在本地运行对应

* feat: persist screening runs and reuse DSA analysis

* fix(review-feedback-2136): 对选股重排应用统一的模型参数兼容逻辑

* fix(review-feedback-2136): 将字段缺失计入数据源失败

* fix(review-feedback-2136): 评审结论 - 代码检查 :当前整个 PR 仍有 3 个未关闭的高置信度代码 blocker。最新复核摘要:当前整个 PR 仍有 3

* fix(review-feedback-2136): 延迟写入候选直到覆盖率通过校验 and 将 DSA 日线成功结果写入 last-good 缓存

* fix(review-feedback-2136): 将直连日线源纳入统一调用超时 and 将新增的选股缓存目录加入桌面更新备份

* fix(review-feedback-2136): 保留完整热点缓存而非请求切片 and 遵守 DSA 上下文声明的候选上限

* fix(review-feedback-2136): 补一条端到端回归:把真实 ScreenResult 经 ScreeningService.screen 落到 /history 和

* fix(review-feedback-2136): 补一个 refresh=true 且 live fetch 失败时返回 stale cache 的回归测试,避免当前只更新 stale
This commit is contained in:
zhulinsen
2026-08-01 14:13:23 +08:00
committed by GitHub
parent 831ada5370
commit bcb7ae4e13
86 changed files with 16486 additions and 2510 deletions

View File

@@ -23,8 +23,7 @@ longbridge==0.2.74; platform_system == "Linux" and python_version < "3.12"
longbridge>=4.0.5,<5; platform_system != "Linux" or python_version >= "3.12"
tickflow>=0.1.24 # TickFlow official SDK; 0.1.24 verified for klines/get batch quotes/universes
futu-api==10.8.6808 # Futu OpenAPI SDK for read-only --portfolio futu holdings import
# Built-in optional AlphaSift screening engine
git+https://github.com/ZhuLinsen/alphasift.git@9f522747caafd3c0b1ddb7e14d5cf44c8580b6cf#egg=alphasift
# The screening engine is maintained in src/services/screening.
# Feishu
lark-oapi>=1.0.0 # Feishu API