Stocks closed near session highs Friday, hoisting the Dow and S&P 500 to finish in the black for the week, as investors grew more optimistic over the progress in Washington.
"We're solidly in the buy-the-dip camp in terms of the shutdown — we view the shutdown as a non-event [for the market]," said Erik Ristuben, chief investment strategist at Russell Investments. "The big risk was the debt ceiling and a potential credit default. And it seems that Washington is dedicated to taking default off the table and that's what the market's reacting to."
(Read more: Debt ceiling fight is déjà vu all over again)
The Dow Jones Industrial Average soared 111.04 points, to close at 15,237.11, boosted by Visa and Johnson & Johnson. On Thursday, the Dow skyrocketed more than 300 points, posting its second-best day this year.
The CBOE Volatility Index (VIX), widely considered the best gauge of fear in the market, closed below 16.
For the week, the Dow advanced 1.09 percent, the S&P 500 climbed 0.75 percent. But the Nasdaq shed 0.42 percent, snapping a five-week win streak. P&G led the weekly Dow gainers, while Merck lagged.
Most key S&P sectors closed higher for the week, led by utilities, while consumer discretionary slipped.
"I don't expect a full deal by the weekend but I do expect [them] to continue to talk," said Ristuben. "In general, we think equity earnings are going to be good — in the 4 to 5 percent range — we're actually quite conservative. But we think that's enough to take equities forward because cash and bonds don't look like they're going to offer very good returns over the next year."
With a partial government shutdown in its 11th day, House Republicans were prepared to offer a new deal featuring both an increase in the debt limit and an end to the government shutdown in return for spending cuts, according a report from The Associated Press.
The AP also reported that Senate Republicans have started work on a bipartisan solution to the debt ceiling and government shutdown crises after a meeting with President Obama.
Among earnings, JPMorgan topped Wall Street expectations. But overall, the bank posted a quarterly loss due to legal expenses, but it expects those costs to eventually abate and normalize. Shares were higher for most of the session, but closed nearly flat.
And Wells Fargo posted quarterly earnings that hit a record as loans and deposits surged during the period.
(Read more: Bove: Don't worry about this bank)
On the economic front, consumer sentiment fell in October to its weakest level in nine months as the government shutdown affected Americans' outlook on the economy. The Thomson Reuters/University of Michigan's preliminary reading on the overall index on consumer sentiment fell to 75.2 in October, down from 77.5 in September. Economists surveyed by Reuters expected a reading of 76.0.
—By CNBC's JeeYeon Park (Follow JeeYeon on Twitter: @JeeYeonParkCNBC)