Token导航 LogoToken导航TokenDH.com
研究检索只读clawhub未标认证来源可访问clear审计通过

einstein-research-backtest-dv爱因斯坦研究回测 dv

Agent Skill

用于辅助测试设计、自动化测试、用例整理和回归验证。它适合让 Agent 编写单元测试、端到端测试、测试计划或根据失败日志定位问题。使用时需要确认项目测试框架、运行命令和夹具数据,避免为了通过测试而改坏真实逻辑;涉及浏览器或外部服务时,应区分本地模拟、测试环境和生产环境。

总安装

4,237

周安装

182

GitHub Stars

公开资料未说明

下载量

1,485
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:einstein-research-backtest-dv(爱因斯坦研究回测 dv)
来源仓库:https://github.com/clawdiri-ai/einstein-research-backtest-dv
安装命令:
openclaw skills install einstein-research-backtest-dv
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install einstein-research-backtest-dv

简介

einstein-research-backtest-dv 提供交易策略系统回测专家指导,支持开发阶段验证。

  • 专为 OpenClaw 设计,适用于量化策略的压力测试与性能评估场景。
  • 通过 ClawHub 安装,结合历史价格数据进行系统化回溯分析。
  • 使用前需确认权限范围、维护状态,以及是否会触发大规模数值计算操作。
  • 建议区分模拟环境与实盘条件,避免过度拟合历史数据。

SKILL.md

id
einstein-research-backtest
name
einstein-research-backtest
description
Expert guidance for systematic backtesting of trading strategies. Use
version
1.0.0
author
DaVinci
last_amended_at
null
trigger_patterns
[]
pre_conditions
git_repo_required
false
tools_available
[]
expected_output_format
natural_language

Systematic Backtesting Methodology

This skill provides expert guidance for the rigorous, systematic backtesting of quantitative trading strategies. It ensures that strategies are robust, statistically sound, and free from common biases before any consideration of live deployment. This is the *methodology* guide; for the programmatic backtesting engine, see the einstein-research-backtest-engine skill.

Core Principle: "Beat the Idea to Death"

A single backtest with good results is meaningless. The goal is not to find one set of parameters that worked in the past, but to prove that a strategy has a persistent edge across a wide range of market conditions and parameter variations.

When to Use This Skill

  • User asks how to backtest a trading idea.
  • User presents a backtest result and asks for interpretation or next steps.
  • User wants to know if their strategy is robust or overfit.
  • User is developing a systematic or quantitative trading strategy.
  • Triggers: "backtest", "strategy validation", "robustness testing", "overfitting", "systematic trading".

The 7 Stages of Systematic Backtesting

Stage 1: Hypothesis Definition

  • Action: Clearly define the strategy's logic, the underlying inefficiency it exploits, and the expected behavior.
  • Example: "Hypothesis: Stocks that gap down on high volume but close in the upper 50% of their daily range tend to mean-revert over the next 1-3 days."
  • Output: A clear, one-sentence hypothesis.

Stage 2: Initial Backtest

  • Action: Run a single backtest using a baseline set of parameters on in-sample data.
  • Goal: Sanity check. Does the idea show any promise at all?
  • Tool: einstein-research-backtest-engine
  • Output: Initial performance metrics (Sharpe, Max Drawdown, CAGR).

Stage 3: Parameter Robustness Testing

  • Action: Vary the strategy's key parameters across a logical range.
  • Example: For a moving average crossover, test 20/50, 25/60, 15/45, etc.
  • Goal: Check for a "plateau" of profitability. A good strategy works across a range of parameters, not just one magic number. A single peak is a major red flag for overfitting.
  • Output: A heatmap or table showing performance across parameter variations.

Stage 4: Out-of-Sample (OOS) Testing

  • Action: Test the best parameter *plateau* from Stage 3 on a separate, unseen dataset (e.g., a different time period).
  • Goal: Verify that the strategy's edge is not specific to the in-sample data.
  • Rule: If performance degrades significantly (>30%) on OOS data, the strategy is likely overfit. Go back to Stage 1.
  • Output: Comparison of In-Sample vs. Out-of-Sample performance metrics.

Stage 5: Monte Carlo Simulation

  • Action: Resample the trade history thousands of times to simulate different possible sequences of returns.
  • Goal: Stress-test the strategy's path dependency and assess the probability of hitting a certain drawdown.
  • Example: "What is the probability of a >30% drawdown over a 5-year period?"
  • Output: Distribution of potential outcomes, probability of ruin, expected max drawdown.

Stage 6: Slippage and Commission Modeling

  • Action: Re-run the backtest with realistic transaction costs (e.g., 0.05% per trade for slippage + commissions).
  • Goal: Ensure the strategy's edge is not consumed by trading friction. High-frequency strategies are particularly sensitive to this.
  • Rule: If the strategy is not profitable after costs, it has no real-world edge.
  • Output: Net performance metrics after costs.

Stage 7: Walk-Forward Optimization

  • Action: A more advanced form of OOS testing. Optimize parameters on a rolling window of data, then test on the subsequent window.
  • Example: Optimize on 2020-2022 data, test on 2023. Then, optimize on 2021-2023 data, test on 2024.
  • Goal: Simulate how the strategy would have been adapted and traded in real-time. This is the gold standard for avoiding lookahead bias.
  • Output: A series of OOS performance reports, stitched together to form an equity curve.

Common Biases to Avoid

  • Lookahead Bias: Using information that would not have been available at the time of the trade (e.g., using closing prices to make a decision at the open).
  • Survivorship Bias: Using a dataset that excludes companies that have gone bankrupt or been delisted. Always use a high-quality, survivorship-bias-free dataset.
  • Overfitting (Curve-Fitting): Finding a complex set of rules and parameters that perfectly fits historical data but fails on new data. Parameter robustness testing is the primary defense.
  • Data Snooping: Repeatedly testing different hypotheses on the same dataset until one looks good by random chance.

Final Assessment

A strategy is considered potentially viable for live trading only if it passes all 7 stages:

  1. Clear hypothesis.
  2. Shows initial promise.
  3. Profitable across a plateau of parameters.
  4. Performs well on out-of-sample data.
  5. Survives Monte Carlo stress tests.
  6. Profitable after costs.
  7. Generates a positive walk-forward equity curve.

If a strategy fails at any stage, it is considered invalid, and the process should restart from Stage 1 with a new or revised hypothesis.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

87.82%
按下载量换算1,304

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills