用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/matiasvillaverde/openclaw-trader --skill stop-defense命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
Learn from executed trades and research notes to improve future decisions.
| name | stop-defense |
| description | One-command defensive stop management for breakeven and profit protection on Alpaca. |
| metadata | {"openclaw":{"emoji":"🛡️","requires":{"env":["APCA_API_KEY_ID","APCA_API_SECRET_KEY","APCA_API_BASE_URL"],"bins":["python3"]}}} |
Use this skill for post-entry risk control.
${OPENCLAW_HOME:-$HOME/.openclaw}/tools/alpaca/stop_manager.sh move-stop-entry \
--symbol <TICKER> --offset-bps 5 --replace
${OPENCLAW_HOME:-$HOME/.openclaw}/tools/alpaca/stop_manager.sh protect-profit \
--symbol <TICKER> --protect-pct 50 --min-gain-pct 0.30 --replace
offset-bps: tiny cushion beyond entry to avoid noise stopouts.protect-pct: fraction of unrealized gain to lock with stop.min-gain-pct: only upgrade to profit-protect after enough gain.Default operating policy:
Doctrine: see knowledge/wiki-highlights/STOP_MANAGEMENT.md for the
full ladder, ATR/volatility-based stop sizing, time stops, and gap-risk
caveats. Never widen a stop to avoid taking a planned loss.
move-stop-entry immediately.protect-profit using 40-70% ladder.--replace).