The S&P 500 and the Dow Jones Industrial Average eked out gains on Friday, wrapping up a volatile week on Wall Street. A move by China to ban cryptocurrencies weighed on the technology sector and Nike shares fell as supply chain issues stemming from the pandemic hit the sneaker giant.

The Dow Jones Industrial Average gained 33.18 points, or 0.10%, to 34,798.00. The S&P 500 edged 0.15% higher to 4,455.48 and the Nasdaq Composite ticked down 0.03% to 15,047.70.