Stocks ended Friday largely flat despite more positive news on trade. China said it would exempt some U.S. farm products from increased tariffs. President Donald Trump also hinted that he might consider an interim deal with China.

The Dow notched its seventh straight gain with Thursday’s close, and now sits only 216 points below its 52-week high. The U.S. and China are trying to de-escalate trade tensions ahead of the face-to-face meeting in October.

All three major U.S. stock indexes rose on Wednesday after China announced plans to exempt certain U.S. products from its retaliatory tariffs. The country has also made a series of other efforts to stimulate its weakening economy.

Stocks had a mixed performance on Tuesday. Treasury yields recovered, momentum stocks sold off, and value stocks rose. Apple ended flat after the company announced its new iPhone 11. Ford tumbled after its bonds were downgraded to junk status.

All three major stock indexes closed not far from even on Monday, after some early gains built on last week’s momentum. Oil and natural-gas prices rose, pushing energy stocks higher. AT&T stock jumped after activist hedge fund Elliott Management disclosed a large stake in the company.

Two out of the three major U.S. stock indexes closed with slight gains, while the third ended slightly in the red. Concerns about trade conflicts have been dormant, but the U.S. economy added fewer jobs than expected in August.

All three major stock indexes slipped back close to the break-even line despite opening higher on Friday. It’s the end of a painful August, as investors are cheered by signs of diminished U.S.-China trade tensions.

All three major stock indexes closed with solid gains on Thursday after China said it wouldn’t immediately retaliate against the latest U.S. tariffs increases. China is also considering a meeting with American representatives in September.

The main U.S. stock indexes closed in the red on Tuesday after scoring some solid gains a day earlier—spurred by fresh optimism on the U.S.-China trade negotiations. U.S. Consumer confidence was better than expected, and China revealed a new stimulus plan.