Orderbook

private/cancel_by_instrument

Cancels every open order for a subaccount on a single instrument. Requires any trade scope; returns the number of orders cancelled.

post/private/cancel_by_instrument

Request

  • Base URL: https://api.derive.xyz/v3
  • URL: https://api.derive.xyz/v3/private/cancel_by_instrument
  • Auth: none declared

Request body

instrument_namestring required
subaccount_idinteger required

Response

Success

cancelled_ordersinteger required

Changes

No recorded changes to this operation across all 1 revision of this API.