Orderbook

private/cancel_all_algo_orders

Changed on

Cancels every active algo order on the given subaccount. Requires any trade scope; returns "ok" on success.

post/private/cancel_all_algo_orders

Request

  • Base URL
    https://api.derive.xyz/v3
  • Auth
    API key in header X-DeriveWallet and API key in header X-DeriveTimestamp and API key in header X-DeriveSignature

Request body

CancelAllAlgoOrdersRequest required
subaccount_id, integer required

Response

Success

'ok' required

The literal string "ok" returned on success.

Changes

    • info

      the endpoint scheme security DeriveWallet AND DeriveTimestamp AND DeriveSignature was added to the API

    • info

      added the media type application/json for the response with the status