Function getOpenOrders

Returns a nice array of current open orders. Helper method for: Get Open Orders

   import { getOpenOrders } from 'ts-kraken';

getOpenOrders()
.then(openOrdersArr => {
const openOrdersIds = openOrdersArr.map(({ orderid }) => orderid);
console.log({ openOrdersIds });
});