Walk-Forward Validator

io.github.tylerscomic-labv1.0.0更新于 Oct 2, 2026

Walk-Forward Efficiency, parameter-stability scoring, and WFO window generation.

已验证Streamable HTTP可网页运行FinanceData & Analytics

概览

AI 生成的概览

让助手对交易策略进行前向滚动分析:效率比率、参数稳定性评分以及滚动窗口生成。

功能
提供四个用于验证交易策略优化的工具。walk_forward_efficiency 计算样本外表现占样本内表现的比例。parameter_stability_score 评估参数曲面是稳健的平台还是脆弱的尖峰。lock_after_wfo_check 审查参数在优化后是否真正锁定,walk_forward_window_generator 按日期范围和步长生成不重叠的滚动样本内与样本外窗口。
适用场景
适合用来检查策略优化是否能推广到未见数据,而不是曲线拟合,也适合手工构建前向滚动窗口容易出错的场景。适用于量化与算法交易的验证流程。
运行要求
远程 streamable HTTP 端点;未声明认证、环境变量或请求头。可从源码仓库使用 Node.js 和 npm 自行托管。托管方式据称有免费档,以及用于更高限额的付费 Pro 档。
安装前请注意
托管方式据称有用于更高限额的付费 Pro 档,使用可能产生费用。这些工具只计算和审查分析结果;未声明需要凭据、私钥或写入操作。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Walk-Forward Validator,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "walkforward-validator-mcp": {
      "type": "http",
      "url": "https://walkforward-validator-mcp.mcpize.run/mcp"
    }
  }
}

README

walkforward-validator-mcp

[License: MIT] [Live on MCPize]

An MCP server for walk-forward analysis of trading strategies — Walk-Forward Efficiency ratio, parameter-stability scoring, lock-after-optimization audits, and WFO window generation.

The problem this solves

A strategy optimized on one historical window and never re-validated on a fresh, unseen window is a curve fit until proven otherwise. Walk-forward analysis is the standard fix, but building the rolling windows correctly and scoring whether a parameter surface is a robust plateau or a fragile spike is easy to get subtly wrong by hand.

Tools

walk_forward_efficiency

Computes the Walk-Forward Efficiency ratio — out-of-sample performance as a fraction of in-sample performance — the core signal for whether an optimization generalizes.

parameter_stability_score

Scores a parameter surface for fragile curve-fit spikes vs. robust plateaus, flagging optimizations that only work at one exact parameter value.

lock_after_wfo_check

Audits whether parameters were genuinely locked after the walk-forward optimization step, or quietly re-tuned against the "out-of-sample" data — the mistake that silently invalidates a WFO result.

walk_forward_window_generator

Generates correctly non-overlapping rolling in-sample/out-of-sample windows for a given date range and step size.

Use it

Hosted (recommended): MCPize — free tier, paid Pro tier for higher limits.

Self-host:

bash
npm installnode server.js

Part of the AlgoForge suite

Prop-firm and quant-validation tools for algo traders: prop-rules-mcp, trade-journal-mcp, payout-calc-mcp, econ-calendar-mcp, montecarlo-validator-mcp, overfitting-audit-mcp, pinescript-audit-mcp, backtest-cost-sensitivity-mcp, pinescript-mcp.

License

MIT

来源:README.md,提交 13acca5

工具

0
工具元数据尚未被收录。

版本历史

1
  1. v1.0.0最新Oct 2, 2026