© Reuters. © Reuters.

Investing.com – Stocks moved higher Thursday, with the S&P 500 briefly topping its July 24 closing high, pushed higher by a thaw in U.S.-China trade relations.

The finished up 0.29% at 3,009.57 after briefly crossing the 3,020 level. The S&P’s peak close was 3,019.56 on July 24.

The were up 0.2%, about 160 points below its July closing peak and 0.79% below its all-time high of 27,398.68.

The added 0.3%, pushed in part by gains in Microsoft (NASDAQ:), Google parent Alphabet (NASDAQ:) and Wynn Resorts (NASDAQ:).

Apple (NASDAQ:) had been higher for most of the day, but fell back in the last hour of trading to a small decline. Chip stocks also were pressured. The had been up as much as 1.2% during the session before falling back to a 0.3% gain.

In addition, database giant Oracle (NYSE:) fell 4.3% on news that co-CEO Mark Hurd was taking leave to deal with a health issue.

Wynn rallied because of the day’s big catalyst: the Trump administration’s announcement late Wednesday that it will delay imposition of additional tariffs on Chinese goods. In addition, President Donald Trump tweeted China is expected to buy U.S. agriculture goods in “large amounts,” and China said it had inquired into prices of U.S. soybeans and pork.

The moves were seen as good-faith gestures to find a resolution to the U.S.-China trade war.

prices jumped on the news, closing up 29 cents, or 3.35%, to $8.955 a bushel. Soybeans are flat on the year, but have been in the doldrums since topping $14 a bushel in 2012.

Materials, real estate, technology and financial stocks were the market leaders. Healthcare and energy stocks were among the weakest sectors. Energy shares pulled back as oil prices fell for a third-straight day. was down 1.47% to $54.93 a barrel. crude fell 0.7% to $60.38 a barrel.

Interest rates moved higher as investors shed the safety of bonds for stocks. The yield rose to 1.785%, from 1.733% on Wednesday.

Auto parts provider LKQ (NASDAQ:), medical-equipment manufacturer Varian Medical Systems (NYSE:), global-information-provider IHS Markit (NYSE:) and onliine payments company PayPal (NASDAQ:) were among the top performing S&P 500 stocks.

Auto parts provider LKQ (NASDAQ:), medical-equipment manufacturer Varian Medical Systems (NYSE:), global-information-provider IHS Markit (NYSE:) and onliine payments company PayPal (NASDAQ:) were among the top performing S&P 500 stocks.

IT services company DXC Technology (NYSE:), oil-and-gas driller Helmerich and Payne (NYSE:), farm-and-garden retailer Tractor Supply (NASDAQ:) and Walgreens Boots Alliance (NASDAQ:) were among the weakest S&P 500 stocks on the day.

IT services company DXC Technology (NYSE:), oil-and-gas driller Helmerich and Payne (NYSE:), farm-and-garden retailer Tractor Supply (NASDAQ:) and Walgreens Boots Alliance (NASDAQ:) were among the weakest S&P 500 stocks on the day.

Disclaimer: Fusion Media would like to remind you that the data contained in this website is not necessarily real-time nor accurate. All CFDs (stocks, indexes, futures) and Forex prices are not provided by exchanges but rather by market makers, and so prices may not be accurate and may differ from the actual market price, meaning prices are indicative and not appropriate for trading purposes. Therefore Fusion Media doesn`t bear any responsibility for any trading losses you might incur as a result of using this data.

Fusion Media or anyone involved with Fusion Media will not accept any liability for loss or damage as a result of reliance on the information including data, quotes, charts and buy/sell signals contained within this website. Please be fully informed regarding the risks and costs associated with trading the financial markets, it is one of the riskiest investment forms possible.