Orderbook
private/cancel_by_instrument
Changed onCancels 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 URLhttps://api.derive.xyz/v3
- AuthAPI key in header X-DeriveWallet and API key in header X-DeriveTimestamp and API key in header X-DeriveSignature
Request body
Cancel By Instrument Request required
instrument_name, string required
subaccount_id, integer required
Response
Success
Cancel By Instrument Response required
cancelled_orders, integer required
Changes
- info
the endpoint scheme security
DeriveWallet AND DeriveTimestamp AND DeriveSignaturewas added to the API - info
added the media type
application/jsonfor the response with the status
- info