Stocks are ending broadly higher as investors set aside concerns, for now, about the heated trade war between the US and China that roiled markets earlier in the week, the AP reports. The gains Thursday erased the week's losses for the S&P 500 index. It was the third straight gain for the market following six losses in a row. Investors snapped up technology stocks in a signal that they are more willing to take on risk. Adobe rose 3%. The S&P 500 rose 54 points, or 1.9%, to 2,938. The Dow Jones Industrial Average added 371 points, or 1.4%, to 26,378. The Nasdaq rose 176 points, or 2.2%, to 8,039. Bond prices rose slightly after being lower for much of the day. The yield on the 10-year Treasury edged down to 1.71%. (More stock market stories.)