US markets ended higher on Monday on optimism of strong Q2 earnings, but overall, investors still remain cautious on weak economic data