Endpoints · Strategies

Update a strategy

PATCH/v2/strategies/{name}

Any of `description`, `allocation`, `cadence`, `legs`, and `status` may be supplied; missing fields are unchanged. Providing `legs` recompiles every embedded SQL expression — same validator as POST. Use `status` to start or stop the runner: `'running'` makes the strategy eligible to tick, `'stopped'` pauses it (open positions persist and stay individually closeable). Use DELETE to soft-delete.

Plan access

Hobby and above.

Rate limit

Hobby 60/min · Pro 2,000/min · Scale 10,000/min.

Capacity

Counts against your saved-rule capacity until v1.5 introduces a separate cap.

stringrequired

Strategy slug (immutable).

200
{ as_of, strategy: {...} } — the updated strategy.
400
bad_request with path + message on validation/compile failure.