Reference: Get Trades History

   import { privateRestRequest } from 'ts-kraken';

privateRestRequest({
url: 'TradesHistory',
data: { trades: true, type: 'closed position' }
}).then(({ trades, count }) => {
console.log({ trades, count })
});

Index

Type Aliases