Despite pullbacks and elevated volatility in the earlier days of the month, major equity indices were up in August.