In the past year, investors have been rewarded by focusing on quality companies. Shares of companies with strong balance sheets and consistent earnings and cash flow have performed relatively well.