index.js
// returns true if any open order or false
returns true if any open order or false
returns true if any open order or false
async function haveOpenOrders() {
    await traderBot.api('OpenOrders')
        .then((res) => result = !helpers.isEmptyObject(res.open))
        .catch((rej) => console.log('Грешка!'));
    return result;
}
async function haveOpenOrders ( ) { await traderBot . api ( 'OpenOrders' ) . then ( ( res ) => result = ! helpers . isEmptyObject ( res . open ) ) . catch ( ( rej ) => console . log ( 'Грешка!')); return result ; }
returns true if any open order or false
returns true if any open order or false