API Reference
These docs are for v2.0. Click to read the latest docs for v2.0.1.

Cancel Stop Order

The method postCancelOrder is a wrapper around the createOrderCancellationSignature and placeCancelOrder methods, simplifying the order placement down to one method call for the client. (Recommended)

Cancellation of stop order is same as any normal order.

OrderCancelSignatureRequest: An interface with the following fields:

  interface OrderCancellationRequest {
    symbol: MarketSymbol; // symbol of market to which order belongs to
    hashes: string[]; // hash of the orders to be cancelled.
    parentAddress?: string // (optional) specify parent account if trading as a sub account
  }