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
}