Reference: Orders (Level 3)

   import { getPrivateSubscription } from 'ts-kraken';

getPrivateSubscription({ channel: 'level3', params: { symbol: ['BTC/USD'] } })
.then(balance$ => {
balance$.subscribe(({ type, data: [{ bids, asks }] }) => {
console.log({ type, bids, asks });
});
});

Index

Type Aliases