[TET Phase 2] 策略 session: copy 策略副本改调 _ex 接口 + NAS 回测对照 #19
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
背景
TET 窄试点 B Phase 1 已完成(commit
d165e2a,CI 部署中):provider 新增 4 个_ex接口(TET 三段式,strict fail-fast),老接口零改动。方案 2026-08-15 用户定案:并行验证,Phase 2 由策略 session 做。Phase 2 任务(策略 session)
all_weather_ex/momentum_timing_ex等):只机械替换取数调用,策略逻辑零改动——保证对照纯净:get_price(...)→get_price_ex(...)get_closes_panel(...)→get_closes_panel_ex(...)get_constituent(...)/get_index_stocks(...)→get_constituent_ex(...)(注意:get_index_stocks无 _ex 版本,get_constituent_ex是同语义别名)get_fundamentals_df(...)→get_fundamentals_df_ex(...)get_value_metrics/get_value_metrics_batch/get_limit_status_batch/get_security_info_batch无 _ex 版本,继续用老接口(不在 P0 四方法内)_ex 与老接口的契约差异(策略层须知)
get_constituent_ex查询失败[]Phase 3(验证通过后,另行开工)
老接口内部改为委托 Fetcher(策略副本完成使命;
_ex保留给未来 MCP 出口)。验收标准
⚠️ sha 修正:Phase 1 commit 原
d165e2a漏 [vps] 标签(CI enforce-label fail),已 amend 重推为f9322a7(内容不变,7 文件 982 行)。策略 session 对照请基于 f9322a7。