Reference: Cancel All Orders
import { privateRestRequest } from 'ts-kraken'; privateRestRequest({ url: 'CancelAll' }).then(({ count, pending }) => { console.log({ count, pending }); }); Copy
import { privateRestRequest } from 'ts-kraken'; privateRestRequest({ url: 'CancelAll' }).then(({ count, pending }) => { console.log({ count, pending }); });
Reference: Cancel All Orders
Example