Stocks battled to close the shortened week on a high note, with the Dow squeezing out more green in the last 15 minutes to close up 102 points. It was a rocky four days of trading ahead of the closely watched Federal Reserve interest rate decision meeting next week.
The Dow rose the most in six months this week, up 2%. The S&P and the Nasdaq also saw their biggest gains in eight weeks.
Tech and health care stocks led sector gains this week, while energy was the only one to decline.
Some of the bigger gainers Friday were Shake Shack (NYSE:SHAK), Dave & Buster's (NASDAQ:PLAY), Chipotle (NYSE:CMG) and Mobileye (NYSE:MBLY).
Oil suffered a 3% decline this week after slipping back below $45 a barrel Friday. Goldman Sachs analysts warned that the glut of crude on the market may push prices as low as $20 a barrel.
Gold tallied up its third straight week of losses as uncertainty over the Fed's next move weighs on futures. Gold lost 1.6% this week to end Friday's session at $1,103 an ounce.