Reference: Edit Order

   import { privateWsRequest } from 'ts-kraken';

privateWsRequest({
method: 'edit_order',
params: {
order_id: 'YOUR-ORDER-ID',
symbol: 'BTC/EUR',
limit_price: 50500,
}

}).then(({ original_order_id, order_id, warnings }) => {
console.log({ original_order_id, order_id, warnings });

}).catch(error => {
console.error({ error });
});

Index

Type Aliases