Trade

/trade/orders/cancel

Cancel orders for a market using order hashes.

  • May be a single order hash or a list of order hashes.

  • All orders must belong to the same account.

  • If no order hashes are specified, then will cancel all orders for the given market

  • All orders being cancelled by request will receive the same time priority.

put/api/v1/trade/orders/cancel

Request

  • Base URL
    https://trade.api.sui-staging.bluefin.io
  • URL
    https://trade.api.sui-staging.bluefin.io/api/v1/trade/orders/cancel
  • Auth
    API key in header Authorization

Request body

symbolstring required

The symbol of the perpetual for which to cancel orders.

orderHashesstring[]

List of order hashes of the orders to be cancelled. All orders must belong to accountAddress. Max 10 order hashes

Example request

{
  "orderHashes": [
    "order_hash1",
    "order_hash2"
  ]
}

Response

Order cancellation submitted successfully.

Changes

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