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.
AI Analysis
核心用途是验证量化交易策略。适合需要快速回测自定义交易逻辑、评估策略收益与风险的金融分析人员。
Install
This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full README ↗
README
Read the full README ↗配置
- id: backtest
plugin: 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. 分析结果,给出建议