Skip to main content
When you submit a PEGGED, TWAP, ICEBERG, STOP_LOSS, or TRAILING_STOP order, Bravado returns a record_id instead of (or in addition to) a CLOB order_id. These long-running strategy records are tracked separately from the CLOB order book. Use the strategies endpoints to monitor their lifecycle and cancel them before they complete or trigger.

GET /v2/trade/strategies

Returns all managed strategy records on your account. You can filter by status to focus on live strategies or review historical executions.

Query parameters

string
Filter by strategy status. Accepted values:
  • ACTIVE, currently executing or waiting to trigger.
  • PAUSED, temporarily halted (e.g. a PEGGED order repricing).
  • COMPLETED, fully filled or resolved.
  • CANCELED, manually cancelled via this API.
  • ERROR, terminated due to an execution error.

Response

array
Array of strategy objects.
Pre-trigger STOP_LOSS and TRAILING_STOP strategies only appear here on /strategies. Once a stop triggers, Bravado places a CLOB order and you can also see it on GET /v2/trade/orders/open with is_stop_loss: true.

Example


DELETE /v2/trade/strategies/

Cancels a managed strategy by its record_id. The operation is idempotent, cancelling an already-terminal strategy (COMPLETED, CANCELED, ERROR) returns the current record without error. Required headers

Path parameters

string
required
The record_id of the strategy to cancel (e.g. rec_twap_abc123).

Response

string
The strategy record ID.
string
Strategy type.
string
Final status after the cancellation attempt, CANCELED on success, or the existing terminal status if already complete.

Example

A STOP_LOSS strategy can only be cancelled while it is in the ACTIVE (pre-trigger) state. Once the trigger price is hit, Bravado places a CLOB order and the strategy transitions to COMPLETED. To cancel the resulting order, use DELETE /v2/trade/orders/{order_id} with the order_id returned by GET /v2/trade/orders/open (look for is_stop_loss: true).

Where to find each order type

Different order types surface on different endpoints depending on their current state. Use this table to locate any order after submission:
For bracket orders (take-profit or stop-loss attached to a LIMIT/MARKET parent), the brackets field on the parent order response contains both the order_id for the take-profit resting order and the record_id for the stop-loss strategy.