滚动回测怎么做:让训练与部署节奏保持一致
模拟每次只能看到过去
滚动回测按时间推进:在某个截止日以前的数据上训练或选择参数,再在之后的一段时间评估,随后将截止日向前移动。这种方法能更接近周期性更新模型的实际流程,也有助于观察策略在不同市场阶段是否表现一致。
窗口长度有不同含义
固定窗口只使用最近一段历史,可能更关注近期状态,但样本较少时估计不稳定;扩展窗口保留从起点以来的全部历史,样本更多,却可能混入较旧且已变化的关系。选择应依据业务逻辑和数据性质,而不是只挑表现最好的一种。
训练窗口、验证窗口、测试窗口和再训练频率需要分别写清。若实际计划每月更新一次,回测却每天利用最新结果重新选择参数,得到的表现就不对应真实部署方案。预处理、特征筛选和交易成本也必须在每个窗口内按同样规则重做。
参数选择要留在窗口内部
每个阶段的参数只能由当时可用的训练和验证数据决定,不能看完整段回测之后再统一挑选最优参数。若候选参数很多,应保存尝试记录并考虑多次比较的影响。选择过程越复杂,越需要独立样本确认其稳定性。
汇总结果时,检查相邻测试窗口是否重叠。若同一天在多个窗口中出现,简单拼接会重复计算收益。应事先规定每个交易时点采用哪一版本模型,并据此构建唯一的资金曲线,同时保留各窗口的独立统计以观察差异。
最终报告除总体收益外,还应列出窗口数量、最差窗口、换手、成本和参数变化情况。若模型频繁选择完全不同的参数,或少数窗口贡献大部分收益,应继续研究原因。滚动回测提升了验证过程的现实性,但不会自动消除过拟合与未来环境变化。
-
'Infartei aos 46 com sintomas que poderiam ser confundidos com outra coisa'Visa: Trust Is What Scales Innovation (Live from Singapore FinTech Festival)Tokyo makes its case to global investors in New YorkNews Brief: TAT's drive to promote the night economyBundeswehr: Was bringt der Fragebogen für den neuen Wehrdienst wirklich? - DER SPIEGELWhy bitcoin decoupled from traditional headwindsClosing manufacturing’s skills gap starts with the workforce you haveOne goal, many pathways: Asia’s practical route to decarbonizationCampeonato de lenda do atletismo deu calote de R$ 41 mi em Piu e astrosTokyo makes its case to global investors in New York
下一篇:Birsukhman Singh elected FAIMA national president
- ·Telangana’s advantage is investment stability, safety, skilled workforce and moderate climate: Uttam Kumar Reddy
- ·News Brief: TAT's drive to promote the night economy
- ·Tokyo and Frankfurt expand cooperation, look for partnerships in ASEAN for resilience and growth
- ·Visa: Trust Is What Scales Innovation (Live from Singapore FinTech Festival)
- ·江苏林洋能源股份有限公司-陆永华-企业家-大咖-索比光伏网
- ·Reuters Plus
- ·The Most Stylish Men Are Wearing Paul & Shark's Cashmere Outerwear
- ·Visa: Trust Is What Scales Innovation (Live from Singapore FinTech Festival)
- ·Press review: Russia eyes US contacts at G20 as EU rejects security dialogue proposals
- ·Closing manufacturing’s skills gap starts with the workforce you have
- ·The Most Stylish Men Are Wearing Paul & Shark's Cashmere Outerwear
- ·The Most Stylish Men Are Wearing Paul & Shark's Cashmere Outerwear
- ·新能源大基地-索比光伏网
- ·Reuters Plus
- ·Visa: Trust Is What Scales Innovation (Live from Singapore FinTech Festival)
- ·The standard of proof: No plausible deniability for legal AI output
- ·Musk ganha sinal verde para data center de IA com constelação de satélites
- ·Why bitcoin decoupled from traditional headwinds
- ·Visa: Trust Is What Scales Innovation (Live from Singapore FinTech Festival)
- ·Reuters Plus
- ·Kohl-Rezepte: Neue Ideen, um Wintergemüse lecker zuzubereiten - DER SPIEGEL
- ·The standard of proof: No plausible deniability for legal AI output
- ·News Brief: TAT's drive to promote the night economy
- ·100 Years Of The World’s Best Suitcase
- ·Rihanna berichtet von »traumatischem« Schusswaffenangriff auf ihrem Anwesen - DER SPIEGEL
- ·The Most Stylish Men Are Wearing Paul & Shark's Cashmere Outerwear
- ·15th Anniversary Season of the International Eventiada Awards 2026 is Now Open
- ·News Brief: TAT's drive to promote the night economy
- ·The standard of proof: No plausible deniability for legal AI output
- ·News Brief: TAT's drive to promote the night economy
- ·分布式光伏分论坛-索比光伏网
- ·Why bitcoin decoupled from traditional headwinds
- ·One goal, many pathways: Asia’s practical route to decarbonization
- ·The Most Stylish Men Are Wearing Paul & Shark's Cashmere Outerwear
- ·Russian forces strike Ukrainian UAV assembly, launch sites over past day — top brass
- ·The standard of proof: No plausible deniability for legal AI output
