Major stock indexes are on pace to post one of their best months of the last decade, with a strong batch of quarterly earnings and economic data helping to satiate investors.