Backtrader 开源量化回测框架,支持多数据源、多策略、多周期回测与实盘交易,纯Python实现。当用户需要开发量化策略、进行回测分析、编写交易逻辑、回测参数优化,或提及 backtrader、量化回测框架时使用。若用户仅需数据获取而无回测需求,引导使用 baostock/akshare/tushare 等数据 Skill。
$npx -y skills add lzwme/finance-quant-skills --skill backtraderInstalls into the current project.
Run `npx skills use "https://github.com/lzwme/finance-quant-skills" --skill "lzwme/finance-quant-skills/backtrader"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/lzwme/finance-quant-skills" that are relevant to the current task. Run `npx skills add "https://github.com/lzwme/finance-quant-skills"` and select the relevant skills, then follow their instructions.