Skip to main content

Cancel Order

POST 

/private/CancelOrder

Cancel a particular open order (or set of open orders) by txid, userref or cl_ord_id

API Key Permissions Required: Orders and trades - Create & modify orders or Orders and trades - Cancel & close orders

Request

Body

required
    nonce int64required

    Nonce used in construction of API-Sign header

    txid object

    Open order transaction ID (txid) or user reference (userref)

    oneOf

    string

    cl_ord_id string

    An alphanumeric client order identifier which uniquely identifies an open order for each client.

Responses

Open order cancelled.

Schema
    result object
    count int32

    Number of orders cancelled

    pending boolean

    If true, orders are pending cancellation

    error array[]
Loading...