Stock market live Tuesday: S&P 500 hits another record, Apple drags down Dow, oil jumps to 5-month high

This is CNBC's markets live blog that was updated throughout the day. 

The Dow Jones Industrial Average underperformed as Apple fell for the first time in six days. Meanwhile, the S&P 500 and the Nasdaq Composite both managed to refresh their respective records. Investors digested a slew of economic data as well as the progress on the U.S.-China phase-one trade deal. Here's what's happened: