Reference: Add Order

   import { privateWsRequest } from 'ts-kraken';

privateWsRequest({ method: 'add_order', params: {
order_type: 'limit',
side: 'buy',
order_qty: 0.0002,
symbol: 'BTC/EUR',
limit_price: 50000

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

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

Index

Type Aliases