The Dow Jones Industrials stayed afloat 47.71 points to close Thursday at 34,395.14.
The S&P 500 took on 37.88 points to 4,510.04.
The NASDAQ index popped 219.61 points, or 1.6%, to 14,080.47. It was the fourth consecutive day of gains for the major averages.
Cybersecurity stock Palo Alto Networks jumped 2.8%, partially rebounding from Wednesday’s losses. Meanwhile, shares of MGM Resorts hiked 5.1%, and Alphabet rose 4.3%.
June’s producer price index report rose less than anticipated, building upon optimism from Wednesday’s consumer price index data. The PPI, which measures what wholesalers pay for goods, rose 0.1% in June. Economists polled by Dow Jones had expected an increase of 0.2%.
Core PPI, which strips out volatile food and energy prices, climbed 0.1% — also lower than expectations.
Prices for the 10-year Treasury recovered strength, lowering yields to 3.76% from Wednesday’s 3.78%. Treasury prices and yields move in opposite directions.
Oil prices gathered $1.54 to $77.29 U.S. a barrel.
Gold prices gained $3.20 to $1,964.90 U.S. an ounce.