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 }); }); Copy
import { getOpenOrders } from 'ts-kraken'; getOpenOrders() .then(openOrdersArr => { const openOrdersIds = openOrdersArr.map(({ orderid }) => orderid); console.log({ openOrdersIds }); });
Optional
Returns a nice array of current open orders. Helper method for: Get Open Orders
Example