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. 适合需要输入自然语言策略并在历史数据上运行回测的量化用户。
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 ↗配置
- 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. 分析结果,给出建议