dmsobtl/dsh-tool-backtest ↗★ 0

dsh-tool-backtest

DSH plugin: strategy backtesting engine — define strategies in natural language, run against historical data, get performance metrics. 适合需要输入自然语言策略并在历史数据上运行回测的量化用户。

Package
dsh-tool-backtest
Compatibility
Unverified
Harness peer range
^0.1.0-rc.6
Cordis peer range
^4.0.1
Version
0.1.0
Last updated
Aug 14, 2026

Install

This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full README ↗

配置

- insert:
    - id: backtest
      name: dsh-tool-backtest
      config:
        defaultCapital: 100000    # 默认初始资金
        defaultCommission: 0.001  # 默认手续费率 0.1%

使用流程

Agent 的标准回测工作流:

1. market_kline 获取历史数据
2. calc_indicator 计算技术指标
3. 根据策略规则生成 signals(Agent 自行判断)
4. run_backtest 执行回测
5. 分析结果,给出建议