New York (CNN Business) It was another record-breaking day in the US stock market, after a Chinese official said that Washington and Beijing have discussed rolling back tariffs.

A spokesman for China's Ministry of Commerce told reporters these roll-backs could happen even before a "phase one" trade deal is signed. The United States and China agreed to a preliminary deal in mid-October

Investor sentiment rebounded on the back of the comments. On Wednesday, markets were more or less flat after a Reuters report warned that the signing of the preliminary agreement could be delayed.

Dow INDU S&P 500 SPX Theand therecorded a new all-time closing high. The Dow ended up 0.7%, or 182 points, logging its third record of the week, while the S&P 500 climbed 0.3%. It was the index' second record of the week.

Nasdaq Composite COMP Theclimbed 0.3%, putting it just below the all-time high it set on Tuesday. The index hit a trading-day record high during market hours.

Read More