/execute (manual plan execution)
This command supports two manual modes:
- Plan mode (existing): execute a previously generated
/tradeplan. - Ad-hoc mode: parse direction/symbol/mode and generate+execute a plan deterministically.
Usage
- Fast fill:
/execute ETH-01 chase
- RESTING limit (pending SR limit; default cancel timing comes from the stored plan, typically 60m):
/execute ETH-01 limit
- Override limit TTL:
/execute ETH-01 limit 4h
Ad-hoc examples:
/execute long ETH chase/execute ETH long limit 350/execute short ETH chase 250/execute long ETH chase 300 confirm
Workflow
- Run the execute bridge script (deterministic):
EVCLAW_ROOT="${EVCLAW_ROOT:-$HOME/.openclaw/skills/EVClaw}" \
python3 "$EVCLAW_ROOT/openclaw_skills/execute/scripts/execute_bridge.py" <ARGS_FROM_/execute>
- Handle JSON response deterministically:
- If
ok=true: return execution result. - If
needs=size_usd: ask one question: "What size in USD?" - If
needs=confirm: show preview + ask for explicit confirm command.- Use returned
confirm_commandexactly.
- Use returned
- Confirmation behavior for ad-hoc mode:
- Do not execute ad-hoc input without explicit confirmation.
- After user confirms, run bridge again with
confirmtoken.
Safety
- Refuse if plan is expired or missing.
- Never run on behalf of non-owner senders.
- Keep audit trail: ad-hoc mode must generate a plan first, then execute that plan.
Source: Degenapetrader/EVClaw — distributed by TomeVault.