/execute (manual plan execution)
This command executes a previously generated /trade plan.
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
- •
Workflow
- •Run the executor script (deterministic):
bash
python3 ../trade/scripts/execute_plan.py <PLAN_ID> <chase|limit> [ttl]
- •Reply with the result:
- •If chase: fill price/size + SL/TP ids
- •If limit: confirm pending order placed (price + expiry)
Safety
- •Refuse if plan is expired or missing.
- •Never run on behalf of non-owner senders.