US stocks faced big hurdles this week, but emerged stronger following a favorable Federal Reserve decision, a rejection of Scottish independence and a record stock offering from Chinese company Alibaba.
The gains were strongest for the Dow Jones Industrial Average, which closed the week at record levels after tacking on 292.23 points (1.72 percent) to 17,279.74.
The broad-based S&P 500 gained 24.86 (1.25 percent) to 2,010.40, while the tech-rich Nasdaq Composite Index rose 12.19 (0.27 percent) to 4,579.79.
Trade was muted during the first part of the week as the market held its breath ahead of an unusual convergence of big market-moving events.
In the end, all three events went about as favorably as possible for US stocks, further lifting the bull market.
"It looks like the stars came into alignment this week," said Jack Ablin, chief investment officer at BMO Private Bank.
The news also "drowned out" some unfavorable economic data, such as weak US inflation figures and a poor industrial production results for August, Ablin added.
-Fed stays course-
On Wednesday, the Fed signaled it planned to keep benchmark interest rates near zero until well in 2015, confirming that any rate increase would take place only a "considerable time" after the October end to the Fed's bond-buying stimulus program.
Analysts had been watching to see if the Fed would move up its expectations for the timing of a rate hike. Compared with such a move, the Fed's decision was a "more favorable outcome," Ablin said.
Business interests in Britain and beyond had been girding for a potentially messy aftermath to the Scotland referendum if the vote went in favor of secession.
Such an outcome raised murky questions about how Scotland would navigate its way out of its currency union with the rest of the United Kingdom.
Major lenders Royal Bank of Scotland and Lloyds Banking Group had disclosed contingency plans to switch their operations England in the event of Scottish independence.
In the end, the "No" camp secured 55.30 percent of the vote against 44.70 percent for the pro-independence "Yes" camp in Thursday's referendum. Markets cheered the result.
"While the outcome of the Scottish referendum hasn’t necessarily come as a huge surprise... it certainly removes uncertainty which has put off of some investors from pouring money into stocks in recent weeks," added trader Markus Huber at broker Peregrine & Black.
The Fed decision and Scotland votes had both been viewed as risk events for equities, while the Alibaba initial public offering had been anticipated as a likely positive catalyst.
But if anything, the IPO of the Chinese online retail giant exceeded expectations. The shares were priced at $68, at the top end of the expected range, and the offering raised $25.02 billion, the highest in history.
Once the stock began trading, Alibaba share price leapt to $92.07 in early trading, then to nearly $100, before settling at the close to $93.89 -- a hefty gain of 38 percent.
Youssef Squali at Cantor Fitzgerald recommended Alibaba stock as an "opportunity to invest in China's largest e-commerce platform, which we believe has the potential to dominate global online commerce over time."
The Alibaba offering also helped push global IPO volume to $176.1 billion in 2014, almost double the $92.1 billion last year and only slightly below the 2007 record of $178.5 billion, according to Dealogic.
After this week's drama, a more normal tempo is expected next week.
There are a handful of data releases, including August existing-home and new home sales, durable goods orders for August and the third estimate of economic growth for the second quarter.