Reference: Add Order

   import { privateRestRequest } from 'ts-kraken';

privateRestRequest({
url: 'AddOrder',
data: {
ordertype: "limit",
type: "buy",
volume: "0.0002",
pair: "XBTUSD",
price: "57500"
}
}).then(({ txid, descr: { order }}) => {
console.log({ txid, order });
});

Index

Type Aliases