doQuery = function doQuery(syms){
    Promise
        .resolve(syms)
        .then(getValidSymbols)
        .then(querySymbols)
        .then(printResults);
}
Do the query action.
@param  {String} syms    Input symbols' string.