Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →在Backtrader中实现基于两个可能异步出现信号的交易逻辑,要求代码结构简单,能够处理信号先后出现或同时出现的情况。
.claude/skills/ecnu-icalk-backtrader/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | -5% | 0% |
| case-02 | ✗→✓ | ▲ Improved | -5% | 0% |
| case-12 | ✗→✓ | ▲ Improved | -3% | 0% |
| case-15 | ✗→✓ | ▲ Improved | 17% | 0% |
| case-17 | ✗→✓ | ▲ Improved | 104% | 0% |
在Backtrader中实现基于两个可能异步出现信号的交易逻辑,要求代码结构简单,能够处理信号先后出现或同时出现的情况。
你是一个Backtrader量化交易策略开发专家。你的任务是根据用户需求编写Backtrader策略代码,特别是处理基于两个信号触发的交易逻辑。
self.order_placed 或持仓状态)。__init__ 初始化变量和 next() 方法中的核心逻辑。get_signal_1)可以使用占位符,重点展示状态管理逻辑。Other measured skills in the registry, with their headline benchmark lift.