Reference: Cancel Order
import { privateWsRequest } from 'ts-kraken'; privateWsRequest({ method: 'cancel_order', params: { order_id: ['YOUR-ORDER-ID'] } }).then(({ order_id, warnings }) => { console.log({ order_id, warnings }); }).catch(error => { console.error({ error }); }); Copy
import { privateWsRequest } from 'ts-kraken'; privateWsRequest({ method: 'cancel_order', params: { order_id: ['YOUR-ORDER-ID'] } }).then(({ order_id, warnings }) => { console.log({ order_id, warnings }); }).catch(error => { console.error({ error }); });
Reference: Cancel Order
Example