Reference: Edit Order
import { privateRestRequest } from 'ts-kraken'; privateRestRequest({ url: 'EditOrder', data: { pair: "BTC/EUR", txid: "YOUR-ORDER-ID", price: "75500", } }).then(({ originaltxid, txid, orders_cancelled }) => { console.log({ originaltxid, txid, orders_cancelled }); }); Copy
import { privateRestRequest } from 'ts-kraken'; privateRestRequest({ url: 'EditOrder', data: { pair: "BTC/EUR", txid: "YOUR-ORDER-ID", price: "75500", } }).then(({ originaltxid, txid, orders_cancelled }) => { console.log({ originaltxid, txid, orders_cancelled }); });
Reference: Edit Order
Example