dog-strategy
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinese🐕 DOG v1.0 — The Loyal Consistent Performer
🐕 DOG v1.0 —— 忠诚稳定的执行者
5% ROE per week. Steady. Reliable. Good boy.
每周5%ROE,稳定、可靠,当之无愧的好帮手。
⛔ CRITICAL AGENT RULES
⛔ 核心Agent规则
RULE 1: Install path is /data/workspace/skills/dog-strategy/
/data/workspace/skills/dog-strategy/规则1:安装路径为 /data/workspace/skills/dog-strategy/
/data/workspace/skills/dog-strategy/RULE 2: THE SCANNER DOES NOT EXIT POSITIONS — DSL only.
规则2:扫描器不会主动平仓 —— 仅通过DSL执行平仓操作
RULE 3: MAX 1 POSITION AT A TIME
规则3:同时最多持有1个仓位
RULE 4: MAX 3 ENTRIES PER DAY — never reset this counter
规则4:每日最多入场3次 —— 绝对不要重置该计数器
RULE 5: 180-minute cooldown between entries — never bypass
规则5:两次入场之间需要间隔180分钟冷却期 —— 绝对不要绕过该限制
RULE 6: MIN_SCORE 10 — never lower this threshold
规则6:最低入场打分阈值为10分 —— 绝对不要降低该阈值
RULE 7: 10x leverage max — never increase
规则7:最高杠杆为10倍 —— 绝对不要提高杠杆
RULE 8: 30% margin — never increase
规则8:保证金比例为30% —— 绝对不要提高该比例
RULE 9: Never modify DSL runtime tiers — they are tuned for quick profit-taking
规则9:永远不要修改DSL运行层级 —— 它们是为快速止盈专门调优的
RULE 10: Verify runtime on every session start
规则10:每次启动会话时都要校验运行环境
How It Works
工作原理
Dog scans BTC, ETH, SOL, and HYPE every 3 minutes. Enters ONLY when:
- SM consensus is overwhelming (>15% for +3 pts, >10% for +2)
- 15m velocity is fresh and spiking
- The 4h price move is SMALL (< 2% in entry direction = early move bonus)
- The 4h move is NOT exhausted (> 2% = -2 penalty, > 3% = -3 penalty)
- Combined score reaches 10+
Dog takes profit QUICKLY via tight Phase 2 tiers:
- Tier 1 at 3% ROE / 50% lock = banks 1.5% ROE floor on first profit signal
- Tier 2 at 5% ROE / 65% lock = banks 3.25% ROE floor
- Tier 3 at 8% ROE / 75% lock = banks 6% ROE floor (weekly target in one trade!)
Cuts losers FAST:
- Dead weight cut at 45 minutes (if trade goes nowhere, exit)
- Weak peak cut at 60 minutes (if peak was <1% and stalling, exit)
- Hard timeout at 120 minutes (absolute max hold time)
- Phase 1 max loss at -15% ROE (tight stop)
Dog每3分钟扫描一次BTC、ETH、SOL和HYPE行情,仅在满足以下所有条件时入场:
- SM共识占绝对优势(共识度>15%得+3分,>10%得+2分)
- 15分钟行情动能新鲜且处于飙升状态
- 4小时级别价格波动很小(入场方向波动<2% = 早入场奖励)
- 4小时级别行情没有进入尾声(波动>2% = -2惩罚,>3% = -3惩罚)
- 综合得分达到10分及以上
Dog通过严格的第二阶段层级规则快速止盈:
- 第一层级:ROE达到3%时锁定50%仓位 = 首次盈利信号即可锁定1.5%的最低ROE
- 第二层级:ROE达到5%时锁定65%仓位 = 锁定3.25%的最低ROE
- 第三层级:ROE达到8%时锁定75%仓位 = 锁定6%的最低ROE(单次交易即可达成周度目标!)
快速止损规则:
- 45分钟无盈利则平仓(如果交易毫无进展,直接退出)
- 60分钟峰值疲软则平仓(如果峰值<1%且陷入停滞,直接退出)
- 120分钟强制超时平仓(最长持仓时间)
- 第一阶段最大亏损为ROE -15%(严格止损)
Scoring (max ~14 points)
打分规则(最高约14分)
| Signal | Points | Notes |
|---|---|---|
| SM consensus | 1-3 | ≥15% dominant = +3 |
| Trader depth | 0-1 | ≥100 traders = +1 |
| 4H alignment | -1 to +2 | Confirms direction |
| Move exhaustion | -3 to +1 | Strictest in fleet: >3% = -3, >2% = -2, <0.5% = +1 (early bonus) |
| 1H momentum | 0-1 | Confirms direction |
| 15m velocity | -1 to +3 | Strong spike = +3 |
| 1h acceleration | 0-1 | Accel = +1 |
| Funding alignment | 0-1 | Funding pays your direction |
| US session | 0-1 | 13-21 UTC |
Min score: 10. Leverage: flat 10x. No conviction scaling.
| 信号 | 积分 | 备注 |
|---|---|---|
| SM共识 | 1-3 | 主导共识度≥15% = +3 |
| 交易员深度 | 0-1 | 参与交易员≥100名 = +1 |
| 4小时级别行情对齐 | -1 到 +2 | 确认趋势方向 |
| 行情衰竭度 | -3 到 +1 | 全集群最严格规则:波动>3% = -3,>2% = -2,<0.5% = +1(早入场奖励) |
| 1小时级别动量 | 0-1 | 确认趋势方向 |
| 15分钟级别动能 | -1 到 +3 | 强劲飙升 = +3 |
| 1小时级别加速度 | 0-1 | 处于加速状态 = +1 |
| 资金费率对齐 | 0-1 | 资金费率方向与持仓方向一致 |
| 美股交易时段 | 0-1 | UTC时间13-21点 |
最低入场分数:10分。杠杆:固定10倍,不随交易信心调整杠杆比例。
Runtime Setup
运行时设置
bash
sed -i 's/${WALLET_ADDRESS}/<WALLET>/' /data/workspace/skills/dog-strategy/runtime.yaml
sed -i 's/${TELEGRAM_CHAT_ID}/<CHAT_ID>/' /data/workspace/skills/dog-strategy/runtime.yaml
openclaw senpi runtime create --path /data/workspace/skills/dog-strategy/runtime.yamlbash
sed -i 's/${WALLET_ADDRESS}/<WALLET>/' /data/workspace/skills/dog-strategy/runtime.yaml
sed -i 's/${TELEGRAM_CHAT_ID}/<CHAT_ID>/' /data/workspace/skills/dog-strategy/runtime.yaml
openclaw senpi runtime create --path /data/workspace/skills/dog-strategy/runtime.yamlDog's Personality
Dog的特性
Dog doesn't bark at every noise. Dog sits patiently, sniffs the market, and
only moves when the scent is unmistakable. When Dog catches a trade, it banks
the profit quickly and comes home wagging its tail. Dog never chases cars
(exhausted moves), never fights bigger dogs (high leverage), and never stays
out past curfew (120-min timeout).
Dog's job isn't to be the flashiest agent in the fleet. Dog's job is to be
the one you can count on every single week.
Good boy.
Dog不会对每一点风吹草动都狂吠,它会耐心蹲守,嗅探市场动向,只有在信号完全明确时才会行动。当Dog捕捉到交易机会时,会快速锁定收益,然后摇着尾巴“回家”。Dog从不追车(也就是已经进入尾声的行情),从不挑衅更大的狗(也就是高杠杆操作),也绝不会在外逗留超过宵禁时间(120分钟超时限制)。
Dog的目标不是成为集群里最拉风的Agent,而是成为你每周都可以100%信赖的那个伙伴。
好样的。
Files
文件说明
| File | Purpose |
|---|---|
| Multi-asset scoring + entry execution |
| Config helper (MCP, state, positions) |
| Wallet, strategy ID |
| Quick-profit DSL config |
| 文件 | 用途 |
|---|---|
| 多资产打分 + 入场执行 |
| 配置工具(MCP、状态、仓位管理) |
| 钱包、策略ID配置 |
| 快速止盈DSL配置 |
License
许可证
MIT — Built by Senpi (https://senpi.ai). Good boy.
MIT — 由Senpi开发(https://senpi.ai)。好样的。