Taking the temperature of stocks heading into the final months of 2017