Spencer Platt | Getty Images News | Getty Images
It was a mixed week for the major stock benchmarks. The S&P 500 closed lower Friday, but turned in a weekly gain despite big swings in oil prices on geopolitical tensions and hotter-than-expected inflation data. The Nasdaq's more than 1% drop Friday, however, wiped out its weekly gains for a small decline. The Dow, which rose slightly Friday, finished up for the week.