File image of New York Stock Exchange floor
The stock market is closing out a wild week with a modest gain.
The Dow Jones industrial average rose 41 points Friday, or 0.3 percent, to end at 14,799.
The Dow plunged 560 points Wednesday through Thursday after the Federal Reserve said it expected to end its bond-buying program by the middle of next year if the economy continues to improve.
The Standard & Poor's 500 index rose four points, or 0.3 percent, to 1,592 points.
Technology stocks fell after business software maker Oracle disappointed investors late Thursday with flat revenue.
The Nasdaq composite fell seven points, or 0.2 percent, to 3,357.
Slightly more stocks rose than fell on the New York Stock Exchange. Trading volume was very heavy at 5.5 billion shares.