Actions31
- Market Data Actions
- Account Actions
- Order Actions
- Position Actions
Order → Cancel Stop Order
AI-generatedSummary
Cancel a stop order on Pacifica by submitting the stop order's ID and trading symbol via the /api/v1/orders/stop/cancel endpoint.
Inputs
- orderSymbol (required) — Trading pair symbol (e.g., BTC, ETH, SOL). Default is 'BTC' in the UI.
- stopOrderId (required) — Order ID of the stop order to cancel. Mapped to the API's order_id field.
- clientOrderId — Optional client-defined order identifier (UUID). Included as client_order_id in the API payload if provided.
Output shape
The API response from Pacifica's /api/v1/orders/stop/cancel endpoint, confirming stop order cancellation.
Payload includes symbol, order_id (if stopOrderId provided), and client_order_id (if clientOrderId provided). Authentication requires valid Pacifica API credentials with agent private key.
Examples
Example 1: Cancel a specific stop order for BTC
orderSymbol: 'BTC', stopOrderId: 123456