backtesting-frameworks-zh

Backtesting frameworks: Builds robust backtesting systems for trading strategies that properly handle look-ahead bias, survivorship bias, and trading costs. Suitable for developing trading algorithms, validating strategies, or building backtesting infrastructure.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "backtesting-frameworks-zh" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-f74b774e819f8d2050e16ad4f0ad8945b220f9657751d925d23cda2ab76abcc2. Verify the upstream source and version against https://skillhub.cn/skills/org-02qudk26/backtesting-frameworks-zh before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Backtesting frameworks: Builds robust backtesting systems for trading strategies that properly handle look-ahead bias, survivorship bias, and trading costs. Suitable for developing trading algorithms, validating strategies, or building backtesting infrastructure.

0 Downloads

Introduction source: third_party · org-02qudk26 · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Audience
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: backtesting-frameworks
displayName: 回测框架
description: "为交易策略构建稳健的回测系统,妥善处理前视偏差、幸存者偏差与交易成本。适用于开发交易算法、验证策略或搭建回测基础设施。"
version: 1.0.0

回测框架

构建稳健、可用于生产的回测系统,规避常见陷阱,产出可靠的战略绩效估计。

适用场景

  • 开发交易策略回测
  • 搭建回测基础设施
  • 验证策略表现与稳健性
  • 避免常见的回测偏差
  • 实施滚动前向(walk-forward)分析

不适用场景

  • 需要实盘交易执行或投资建议
  • 历史数据质量未知或不完整
  • 任务仅要求快速产出绩效摘要

操作指引

  • 定义假设、标的池、时间区间与评估标准。
  • 构建时点正确(point-in-time)的数据管道与贴近现实的成本模型。
  • 实现事件驱动的模拟与执行逻辑。
  • 使用训练/验证/测试集划分与滚动前向测试。
  • 如需详细示例,打开 resources/implementation-playbook.md。

安全须知

  • 不要将回测结果表述为对未来表现的保证。
  • 避免提供金融或投资建议。

资源

  • resources/implementation-playbook.md:详细的模式与示例。

Current listing version

1.0.0

Verify the source revision ↗

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

  • 解决量化交易领域核心痛点,为策略开发提供稳健回测方法论
  • 明确区分适用与不适用场景,帮助用户合理预期
Trigger Precision90/100

Highlights

  • description 精准描述核心功能与目标用户,触发边界清晰
Structure and Standards90/100

Highlights

  • 结构完整,包含操作指引、安全须知与资源引用,frontmatter 规范
Execution Reliability80/100

Areas to improve

  • 未说明具体工具/库来源 Reported severity: Minor

    Skill 提及构建数据管道与成本模型,但未说明推荐的具体工具或库,可能影响用户执行效率。

    Recommendation: 建议在操作指引或资源文件中补充推荐的开源工具或库(如 pandas、Backtrader 等)。

Highlights

  • 方法论闭环,逻辑清晰,无明显执行漏洞
Evidence Verifiability (mean of the first four)86/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.