AgentSkillsCN

execution-cost

在执行交易前,预先估算价差、滑点、手续费等摩擦成本,以及净预期收益。

SKILL.md
--- frontmatter
name: execution-cost
description: Estimate spread/slippage/fee friction and net expected R before execution.
metadata: {"openclaw":{"emoji":"🧾","requires":{"env":["APCA_API_KEY_ID","APCA_API_SECRET_KEY"],"bins":["python3"]}}}

Execution Cost

CLI: python3 ${OPENCLAW_HOME:-$HOME/.openclaw}/tools/execution/cost.py --symbol AAPL --side buy --qty 10 --stop 180 --target 190

Output includes:

  • quote + spread
  • friction components
  • net expected R after friction

Trade only when net expected R remains acceptable.