ManifoldBT Docs

com.manifoldbt由 manifoldbt.com 发布官方发布者v0.8.0更新于 Nov 7, 2026

Docs for writing manifoldbt backtests: DSL rules, signatures, examples and error fixes.

已验证Streamable HTTP可网页运行知识与记忆开发者工具

概览

AI 生成的概览

manifoldbt 回测库的只读文档服务器,为助手提供 DSL 规则、API 签名、示例与报错解释。

可以做什么
  • 检索 manifoldbt 文档中的 DSL 规则、指标与 API 签名、配置字段和执行语义
  • 解释引擎报错信息:含义、成因与修复方法
  • 查询文档对应的版本,以及各功能所需的许可层级
  • 列出主题并返回可直接运行的完整回测脚本,以及规则与成交行为说明
适用场景
适合在编写或调试 manifoldbt 回测代码与 DSL 表达式时使用,或引擎报错且信息只点出规则而未指出具体错误时使用。它只是参考资料,不能替代在本地实际运行回测。
运行要求
远程 streamable HTTP 端点;未声明任何软件包、账号、API 密钥或环境变量。回测本身需在用户自己的机器上安装 manifoldbt 并使用自己的数据存储运行。
安装前请注意
文档仅覆盖 manifoldbt 0.32.0,未涉及更早的已安装版本。服务器不含引擎与行情数据,无法编译、校验或执行回测,仅提供文档读取。

安装

在 SourceWeft 中

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

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

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/com.manifoldbt%2Fdocs/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

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

{
  "mcpServers": {
    "manifoldbt-docs": {
      "type": "http",
      "url": "https://mcp.manifoldbt.com/mcp"
    }
  }
}

工具

4

search_docs

Search the manifoldbt documentation: DSL rules and pitfalls, indicator and API signatures, config fields, execution semantics (which price a stop or target fills at, which fee each fill pays, what a reversal counts as, which ddof an indicator uses), how to read result metrics honestly, and worked examples. Ask in natural language ('how do I reference another symbol', 'what happens when a bar gaps through my stop', 'is this Sharpe meaningful') or by name ('symbol_ref', 'warmup_bars').

输入参数limitquery必填

explain_error

Explain an error returned by the manifoldbt engine: what it means, what caused it, and how to fix it. Paste the message verbatim. Use this before changing code in response to an engine error -- these messages name a rule rather than the mistake, and guessing wastes a round trip.

输入参数message必填

get_capabilities

Which manifoldbt version this documentation covers, and which of the THREE licence tiers each feature needs. Check before writing code around sweeps, walk-forward, cross-exchange, the GPU or the tick layer: the first three refuse on Community, the last two on anything below Researcher -- and the two Researcher gates raise different exception types.

无需输入参数。

list_topics

START HERE. Returns a complete, runnable backtest script (open a store, strategy, config, fees, run, read the metrics) plus the stateful-band, bracket-exit, higher-timeframe and cross-asset variants -- then the list of rules the engine enforces and of what a fill actually does (which fee a stop pays, where a gapped bracket fills, what a reversal counts as). One call replaces the eight searches every first script otherwise needs.

无需输入参数。

版本历史

1
  1. v0.8.0最新Nov 7, 2026

评分

已满足适用检查项的 83%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分

    请声明包含 README 的 GitHub 仓库,或在 OAuth 受保护资源元数据中提供 resource_documentation。

  • 许可证不适用

    托管服务按其提供方的条款使用,因此这里不要求许可证。此检查项不计入百分比。