code: async function main () {
  
      let exchanges = []
  
      // instantiate all exchanges
      await Promise.all (ccxt.exchanges.map (async id => {
          let exchange = new (ccxt)[id] ()
          exchanges.push (exchange)
          await test (exchange, symbol)
      }))
  
      let succeeded = exchanges.filter (exchange => exchange.markets ? true : false).length.toString ().bright.green
      let failed = exchanges.filter (exchange => exchange.markets ? false : true).length
      let total = ccxt.exchanges.length.toString ().bright.white
      console.log (succeeded, 'of', total, 'exchanges loaded', ('(' + failed + ' errors)').red)
  }
docs: -----------------------------------------------------------------------------